// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'congratulations_page.dart';

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

class _CongratulationsPageDesignSpec extends CongratulationsPageDesignSpec {
  _CongratulationsPageDesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.titleTopSpacing,
    this.titleHeight,
    this.titleBottomSpacing,
    this.summaryRegionHeight,
    this.summaryBottomSpacing,
    this.buttonHeight,
    this.buttonHorizontalSpacing,
    this.buttonBottomSpacing,
    this.allWidgetsHeight,
    this.titleFontSize,
    this.lottieRegionSize,
    this.exhibitRegionSize,
    this.summaryPadding,
    this.summaryFontSize,
  );

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

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

  @override
  final double titleTopSpacing;

  @override
  final double titleHeight;

  @override
  final double titleBottomSpacing;

  @override
  final double summaryRegionHeight;

  @override
  final double summaryBottomSpacing;

  @override
  final double buttonHeight;

  @override
  final double buttonHorizontalSpacing;

  @override
  final double buttonBottomSpacing;

  @override
  final double allWidgetsHeight;

  @override
  final double titleFontSize;

  @override
  final double lottieRegionSize;

  @override
  final double exhibitRegionSize;

  @override
  final EdgeInsets summaryPadding;

  @override
  final double summaryFontSize;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;
  static _CongratulationsPageDesignSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _CongratulationsPageDesignSpec._(
      _measuredMetrics, offset,
      _measuredMetrics.measureVertical(188.0), // titleTopSpacing
      _measuredMetrics.measureHeight(60.0, consistent: false), // titleHeight
      _measuredMetrics.measureHeight(638.0, consistent: false), // titleBottomSpacing
      _measuredMetrics.measureHeight(164.0, consistent: false), // summaryRegioHeight
      _measuredMetrics.measureHeight(56.0, consistent: false), // summaryBottomspacing
      _measuredMetrics.measureHeight(104.0, consistent: true), // buttonHeight
      _measuredMetrics.measureHeight(60.0, consistent: false), // buttonHorizontalSpacing
      _measuredMetrics.measureHeight(126.0, consistent: false), // buttonBottomSpacing
      _measuredMetrics.measureHeight(918.0, consistent: false), // allWidgetsHeight
      _measuredMetrics.measureAbsoluteFontSize(48.0), // titleFontSize/ exhibitRegionSize
      _measuredMetrics.measureWidth(760.0), // lottieRegionSize
      _measuredMetrics.measureWidth(440.0),
      EdgeInsets.only(
          left: _measuredMetrics.measureHorizontal(88.0),
          right: _measuredMetrics.measureHorizontal(88.0),
          top: 0.0,
          bottom: 0.0),
      _measuredMetrics.measureAbsoluteFontSize(28.0), // summaryFontSize
    );
  }

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