// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'remove_ads_design_model.dart';

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

class _RemoveAdsCardDesignSpec extends RemoveAdsCardDesignSpec {
  _RemoveAdsCardDesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.removeAdsCardRadius,
    this.radialLightWidth,
    this.removeAdsSize,
    this.removeAdsImageEndSpacing,
    this.removeAdsImageVerticalSpacing,
    this.productDetailsWidth,
    this.productDetailsFontSize,
    this.productPriceFontSize,
    this.productPriceTextShadowOffset,
    this.productDetailsTopSpacing,
    this.purchaseButtonTopSpacing,
    this.purchaseDetailsPadding,
    this.removeAdsPurchaseButtonSize,
    this.purchaseButtonRadius,
    this.purchaseButtonShadowOffset,
    this.tipsSpacing,
    this.tipsSize,
    this.tipsMinHeight,
    this.tipsWidth,
    this.tipsFontSize,
    this.tipsGap,
    this.tipsRadius,
    this.tipsContentPadding,
  );

  static final designMetrics = DesignMetrics.create(const Size(670.0, 200.0));

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

  @override
  final BorderRadius removeAdsCardRadius;

  @override
  final double radialLightWidth;

  @override
  final Size removeAdsSize;

  @override
  final double removeAdsImageEndSpacing;

  @override
  final double removeAdsImageVerticalSpacing;

  @override
  final double productDetailsWidth;

  @override
  final double productDetailsFontSize;

  @override
  final double productPriceFontSize;

  @override
  final Offset productPriceTextShadowOffset;

  @override
  final double productDetailsTopSpacing;

  @override
  final double purchaseButtonTopSpacing;

  @override
  final EdgeInsets purchaseDetailsPadding;

  @override
  final Size removeAdsPurchaseButtonSize;

  @override
  final BorderRadius purchaseButtonRadius;

  @override
  final Offset purchaseButtonShadowOffset;

  @override
  final double tipsSpacing;

  @override
  final double tipsSize;

  @override
  final double tipsMinHeight;

  @override
  final double tipsWidth;

  @override
  final double tipsFontSize;

  @override
  final double tipsGap;

  @override
  final double tipsRadius;

  @override
  final EdgeInsets tipsContentPadding;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;
  static _RemoveAdsCardDesignSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _RemoveAdsCardDesignSpec._(
      _measuredMetrics, offset,
      BorderRadius.circular(_measuredMetrics.measureHeight(24.0)),
      _measuredMetrics.measureHorizontal(354.0), // radialLightWidth
      Size(_measuredMetrics.measureWidth(670.0),
          _measuredMetrics.measureWidth(670.0) * 0.29850746), // removeAdsSize
      _measuredMetrics.measureHorizontal(80.0), // removeAdsImageEndSpacing
      _measuredMetrics.measureHorizontal(28.0), // removeAdsImageVerticalSpacing
      _measuredMetrics.measureWidth(390.0), // productDetailsWidth
      _measuredMetrics.measureFontSize(26.0), // productDetailsFontSize
      _measuredMetrics.measureFontSize(26.0), // productPriceFontSize
      Offset(
          0.0,
          _measuredMetrics
              .measureVertical(1.0)), // productPriceTextShadowOffset
      _measuredMetrics.measureVertical(32.0), // productDetailsTopSpacing
      _measuredMetrics.measureVertical(22.0), // purchaseButtonTopSpacing
      EdgeInsets.only(
          left: _measuredMetrics.measureWidth(40.0),
          right: 0.0,
          top: 0.0,
          bottom: 0.0),
      Size(_measuredMetrics.measureHeight(56.0) * 3.0,
          _measuredMetrics.measureHeight(56.0)), // removeAdsPurchaseButtonSize
      BorderRadius.circular(_measuredMetrics.measureHeight(34.0)),
      Offset(0.0,
          _measuredMetrics.measureVertical(1.0)), // purchaseButtonShadowOffset
      _measuredMetrics.measureVertical(16.0), // tipsSpacing
      _measuredMetrics.measureHeight(40.0, consistent: false), // tipsSize
      _measuredMetrics.measureHeight(207.0, consistent: false), // tipsMinHeight
      _measuredMetrics.measureWidth(486.0), // tipsWidth
      _measuredMetrics.measureFontSize(26.0), // tipsFontSize
      _measuredMetrics.measureVertical(12.0), // tipsGap
      _measuredMetrics.measureHeight(24.0, consistent: false), // tipsRadius
      EdgeInsets.only(
          left: _measuredMetrics.measureWidth(32.0),
          right: _measuredMetrics.measureWidth(32.0),
          top: _measuredMetrics.measureHeight(22.0),
          bottom: _measuredMetrics.measureHeight(26.0)),
    );
  }
}
