// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'guru_navigation_page.dart';

// **************************************************************************
// DesignSpecGenerator
// **************************************************************************

class _GuruNavigationPageDesignSpec extends GuruNavigationPageDesignSpec {
  _GuruNavigationPageDesignSpec._(
    this.measuredMetrics,
    this.specOffset,
  );

  static final designMetrics = DesignMetrics.create(const Size(750.0, 1624.0));

  static final Map<String, _GuruNavigationPageDesignSpec> _cache = {};

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;

  static _GuruNavigationPageDesignSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _GuruNavigationPageDesignSpec._(
      _measuredMetrics,
      offset,
    );
  }

  static GuruNavigationPageDesignSpec get({Offset offset = Offset.zero}) {
    final Size measuredSize = Get.size;
    final key = BasicDesignSpec.buildSpecKey(measuredSize, offset);
    _GuruNavigationPageDesignSpec? designSpec = _cache[key];
    if (kDebugMode || designSpec == null) {
      designSpec = _create(measuredSize, offset: offset);
      _cache[key] = designSpec;
    }
    return designSpec;
  }
}
