// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'store_design_spec.dart';

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

class _StoreDesignSpec extends StoreDesignSpec {
  _StoreDesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.appBarTopSpacing,
    this.appBarIconButtonSize,
    this.appBarIconSize,
    this.appBarSize,
    this.appBarTitleFontSize,
    this.appbarPadding,
    this.assetsBarPadding,
    this.contentPadding,
    this.srcollViewPadding,
    this.groupItemSpacing,
    this.tipsSpacing,
    this.tipsSize,
    this.dividerHeight,
    this.dividerPadding,
    this.dividerItemPadding,
    this.dividerTipSize,
    this.dividerTipFontSize,
    this.dividerLineHeight,
    this.cardGridMainAxisSpacing,
    this.cardGridCrossAxisSpacing,
    this.tipsMinHeight,
    this.tipsWidth,
    this.tipsFontSize,
    this.tipsGap,
    this.tipsContentPadding,
    this.tipsRadius,
    this.purchaseBannerDesignSpec,
    this.bundleCardDesignSpec,
    this.bundleCardBottomSpacing,
  );

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

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

  @override
  final double appBarTopSpacing;

  @override
  final double appBarIconButtonSize;

  @override
  final double appBarIconSize;

  @override
  final Size appBarSize;

  @override
  final double appBarTitleFontSize;

  @override
  final EdgeInsets appbarPadding;

  @override
  final EdgeInsets assetsBarPadding;

  @override
  final EdgeInsets contentPadding;

  @override
  final EdgeInsets srcollViewPadding;

  @override
  final double groupItemSpacing;

  @override
  final double tipsSpacing;

  @override
  final double tipsSize;

  @override
  final double dividerHeight;

  @override
  final EdgeInsets dividerPadding;

  @override
  final EdgeInsets dividerItemPadding;

  @override
  final double dividerTipSize;

  @override
  final double dividerTipFontSize;

  @override
  final double dividerLineHeight;

  @override
  final double cardGridMainAxisSpacing;

  @override
  final double cardGridCrossAxisSpacing;

  @override
  final double tipsMinHeight;

  @override
  final double tipsWidth;

  @override
  final double tipsFontSize;

  @override
  final double tipsGap;

  @override
  final EdgeInsets tipsContentPadding;

  @override
  final double tipsRadius;

  @override
  final PurchaseBannerDesignSpec purchaseBannerDesignSpec;

  @override
  final BundleCardDesignSpec bundleCardDesignSpec;

  @override
  final double bundleCardBottomSpacing;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;

  static _StoreDesignSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _StoreDesignSpec._(
      _measuredMetrics, offset,
      (_measuredMetrics.wrappedInSafeAreaStatusBarHeight(50.0) +
          _measuredMetrics.measureVertical(0.0)), // appBarTopSpacing
      _measuredMetrics.measureHeight(72.0,
          consistent: true), // appBarIconButtonSize
      _measuredMetrics.measureHeight(48.0, consistent: true), // appBarIconSize
      Size(_measuredMetrics.measureWidth(750.0),
          _measuredMetrics.measureHeight(114.0)), // appBarSize
      _measuredMetrics.measureAbsoluteFontSize(56.0,
          consistent: true), // appBarTitleFontSize
      EdgeInsets.only(
          left: _measuredMetrics.measureHorizontal(28.0),
          right: _measuredMetrics.measureHorizontal(28.0),
          top: _measuredMetrics.measureVertical(8.0),
          bottom: _measuredMetrics.measureVertical(8.0)),
      EdgeInsets.only(
          left: _measuredMetrics.measureHorizontal(12.0),
          right: _measuredMetrics.measureHorizontal(12.0),
          top: 0.0,
          bottom: 0.0),
      EdgeInsets.only(
          left: _measuredMetrics.measureHorizontal(40.0),
          right: _measuredMetrics.measureHorizontal(40.0),
          top: 0.0,
          bottom: 0.0),
      EdgeInsets.only(
          left: 0.0,
          right: 0.0,
          top: _measuredMetrics.measureVertical(48.0),
          bottom: _measuredMetrics.measureVertical(40.0)),
      _measuredMetrics.measureHeight(56.0,
          consistent: true), // groupItemSpacing
      _measuredMetrics.measureVertical(8.0), // tipsSpacing
      _measuredMetrics.measureHeight(40.0, consistent: true), // tipsSize
      _measuredMetrics.measureHeight(40.0, consistent: true), // dividerHeight
      EdgeInsets.only(
          left: 0.0,
          right: 0.0,
          top: _measuredMetrics.measureVertical(8.0),
          bottom: _measuredMetrics.measureVertical(40.0)),
      EdgeInsets.only(
          left: _measuredMetrics.measureHorizontal(8.0),
          right: _measuredMetrics.measureHorizontal(8.0),
          top: 0.0,
          bottom: 0.0),
      _measuredMetrics.measureHeight(32.0, consistent: true), // dividerTipSize
      _measuredMetrics.measureAbsoluteFontSize(32.0,
          consistent: true), // dividerTipFontSize
      _measuredMetrics.measureHeight(4.0,
          consistent: true), // dividerLineHeight
      _measuredMetrics.measureVertical(40.0), // cardGridMainAxisSpacing
      _measuredMetrics.measureVertical(20.0), // cardGridCrossAxisSpacing
      _measuredMetrics.measureHeight(136.0, consistent: true), // tipsMinHeight
      _measuredMetrics.measureWidth(486.0), // tipsWidth
      _measuredMetrics.measureAbsoluteFontSize(26.0,
          consistent: false), // tipsFontSize
      _measuredMetrics.measureVertical(12.0), // tipsGap
      EdgeInsets.only(
          left: _measuredMetrics.measureWidth(32.0),
          right: _measuredMetrics.measureWidth(32.0),
          top: _measuredMetrics.measureHeight(22.0),
          bottom: _measuredMetrics.measureHeight(26.0)),
      _measuredMetrics.measureHeight(32.0, consistent: false), // tipsRadius
      PurchaseBannerDesignSpec.create(
          Size(
              _measuredMetrics
                  .measureWidth(750.0, consistent: false)
                  .clamp(0.0, 4294967295.0),
              _measuredMetrics
                  .measureHeight(200.0, consistent: true)
                  .clamp(0.0, 4294967295.0)),
          offset: offset),
      BundleCardDesignSpec.create(
          Size(
              _measuredMetrics
                  .measureWidth(750.0, consistent: false)
                  .clamp(0.0, 4294967295.0),
              _measuredMetrics
                  .measureHeight(388.0, consistent: true)
                  .clamp(0.0, 4294967295.0)),
          offset: offset),
      _measuredMetrics.measureHeight(36.0,
          consistent: true), // bundleCardBottomSpacing
    );
  }

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