// 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.appBarIconSize,
    this.appBarSize,
    this.appBarStartSpacing,
    this.appBarBottomMargin,
    this.appBarTitleFontSize,
    this.tabBarVerticalSpacing,
    this.premiumCardMarginTop,
    this.giftPackMargin,
    this.giftPageTriangle,
    this.giftPageTrianglePadding,
    this.giftPageTriangleTop,
    this.removeAdsImageEndSpacing,
    this.removeAdsImageVerticalSpacing,
    this.bodyHorizontalPadding,
    this.tipsSpacing,
    this.tipsSize,
    this.dividerHeight,
    this.dividerHorizontalPadding,
    this.dividerNamePadding,
    this.dividerTipSpacing,
    this.dividerTipSize,
    this.dividerTipFontSize,
    this.dividerTopSpacing,
    this.dividerBottomSpacing,
    this.dividerLineHeight,
    this.cardGridMainAxisSpacing,
    this.cardGridCrossAxisSpacing,
    this.labelSize,
    this.labelOffset,
    this.tipsMinHeight,
    this.tipsWidth,
    this.tipsFontSize,
    this.tipsGap,
    this.tipsContentPadding,
    this.productDetailsFontSize,
    this.productPriceFontSize,
    this.productPriceTextShadowOffset,
    this.purchaseButtonShadowOffset,
    this.tipsRadius,
  );

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

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

  @override
  final double appBarTopSpacing;

  @override
  final double appBarIconSize;

  @override
  final Size appBarSize;

  @override
  final double appBarStartSpacing;

  @override
  final double appBarBottomMargin;

  @override
  final double appBarTitleFontSize;

  @override
  final double tabBarVerticalSpacing;

  @override
  final double premiumCardMarginTop;

  @override
  final EdgeInsetsDirectional giftPackMargin;

  @override
  final Size giftPageTriangle;

  @override
  final EdgeInsetsDirectional giftPageTrianglePadding;

  @override
  final double giftPageTriangleTop;

  @override
  final double removeAdsImageEndSpacing;

  @override
  final double removeAdsImageVerticalSpacing;

  @override
  final EdgeInsets bodyHorizontalPadding;

  @override
  final double tipsSpacing;

  @override
  final double tipsSize;

  @override
  final double dividerHeight;

  @override
  final EdgeInsets dividerHorizontalPadding;

  @override
  final EdgeInsets dividerNamePadding;

  @override
  final double dividerTipSpacing;

  @override
  final double dividerTipSize;

  @override
  final double dividerTipFontSize;

  @override
  final double dividerTopSpacing;

  @override
  final double dividerBottomSpacing;

  @override
  final double dividerLineHeight;

  @override
  final double cardGridMainAxisSpacing;

  @override
  final double cardGridCrossAxisSpacing;

  @override
  final double labelSize;

  @override
  final Offset labelOffset;

  @override
  final double tipsMinHeight;

  @override
  final double tipsWidth;

  @override
  final double tipsFontSize;

  @override
  final double tipsGap;

  @override
  final EdgeInsets tipsContentPadding;

  @override
  final double productDetailsFontSize;

  @override
  final double productPriceFontSize;

  @override
  final Offset productPriceTextShadowOffset;

  @override
  final Offset purchaseButtonShadowOffset;

  @override
  final double tipsRadius;

  @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(8.0)), // appBarTopSpacing
      24.0, // appBarIconSize
      Size(_measuredMetrics.measureWidth(750.0),
          _measuredMetrics.measureHeight(114.0)), // appBarSize
      _measuredMetrics.measureHorizontal(48.0), // appBarStartSpacing
      _measuredMetrics.measureHeight(64.0,
          consistent: false), // appBarBottomMargin
      _measuredMetrics.measureFontSize(56.0), // appBarTitleFontSize
      _measuredMetrics.measureVertical(52.0), // tabBarVerticalSpacing
      _measuredMetrics.measureHeight(28.0,
          consistent: false), // premiumCardMarginTop
      EdgeInsetsDirectional.only(
          start: _measuredMetrics.measureWidth(40.0),
          end: _measuredMetrics.measureWidth(40.0),
          top: 0.0,
          bottom: 0.0), // giftPackMargin
      Size(_measuredMetrics.measureHeight(64.0),
          _measuredMetrics.measureHeight(80.0)), // giftPageTriangle
      EdgeInsetsDirectional.only(
          start: _measuredMetrics.measureWidth(12.0),
          end: _measuredMetrics.measureWidth(12.0),
          top: _measuredMetrics.measureHeight(12.0),
          bottom:
              _measuredMetrics.measureHeight(12.0)), // giftPageTrianglePadding
      _measuredMetrics.measureHeight(126.0,
          consistent: false), // giftPageTriangleTop
      _measuredMetrics.measureHorizontal(80.0), // removeAdsImageEndSpacing
      _measuredMetrics.measureHorizontal(28.0), // removeAdsImageVerticalSpacing
      EdgeInsets.only(
          left: _measuredMetrics.measureWidth(40.0),
          right: _measuredMetrics.measureWidth(40.0),
          top: 0.0,
          bottom: 0.0),
      _measuredMetrics.measureVertical(16.0), // tipsSpacing
      _measuredMetrics.measureHeight(40.0, consistent: false), // tipsSize
      _measuredMetrics.measureHeight(40.0, consistent: false), // dividerHeight
      EdgeInsets.only(
          left: _measuredMetrics.measureWidth(48.0),
          right: _measuredMetrics.measureWidth(48.0),
          top: 0.0,
          bottom: 0.0),
      EdgeInsets.only(
          left: _measuredMetrics.measureWidth(16.0),
          right: _measuredMetrics.measureWidth(16.0),
          top: 0.0,
          bottom: 0.0),
      _measuredMetrics.measureHorizontal(8.0), // dividerTipSpacing
      _measuredMetrics.measureWidth(26.0), // dividerTipSize
      _measuredMetrics.measureFontSize(32.0), // dividerTipFontSize
      _measuredMetrics.measureHeight(64.0,
          consistent: false), // dividerTopSpacing
      _measuredMetrics.measureHeight(40.0,
          consistent: false), // dividerBottomSpacing
      _measuredMetrics.measureHeight(4.0,
          consistent: false), // dividerLineHeight
      _measuredMetrics.measureVertical(30.0), // cardGridMainAxisSpacing
      _measuredMetrics.measureVertical(20.0), // cardGridCrossAxisSpacing
      _measuredMetrics.measureVertical(90.0), // labelSize
      Offset(_measuredMetrics.measureWidth(24.0),
          _measuredMetrics.measureHeight(-10.0)), // labelOffset
      _measuredMetrics.measureHeight(190.0, consistent: false), // tipsMinHeight
      _measuredMetrics.measureWidth(486.0), // tipsWidth
      _measuredMetrics.measureFontSize(26.0), // 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.measureFontSize(26.0), // productDetailsFontSize
      _measuredMetrics.measureFontSize(26.0), // productPriceFontSize
      Offset(
          0.0,
          _measuredMetrics
              .measureVertical(1.0)), // productPriceTextShadowOffset
      Offset(0.0,
          _measuredMetrics.measureVertical(1.0)), // purchaseButtonShadowOffset
      _measuredMetrics.measureHeight(24.0, consistent: false), // tipsRadius
    );
  }

  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;
  }
}
