// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'trophy_exhibit_widget.dart';

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

class _TrophyAwardDesignSpec extends TrophyAwardDesignSpec {
  _TrophyAwardDesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.padding,
    this.yearItemPadding,
    this.trophySize,
    this.monthNamePadding,
    this.monthNameFontSize,
    this.yearlyHeaderHeight,
    this.yearHeaderPadding,
    this.yearHeaderFontSize,
    this.gradientLineSize,
    this.gradientLineTopSpacing,
    this.gradientLineSpacing,
  );

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

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

  @override
  final EdgeInsets padding;

  @override
  final EdgeInsets yearItemPadding;

  @override
  final double trophySize;

  @override
  final EdgeInsets monthNamePadding;

  @override
  final double monthNameFontSize;

  @override
  final double yearlyHeaderHeight;

  @override
  final EdgeInsets yearHeaderPadding;

  @override
  final double yearHeaderFontSize;

  @override
  final Size gradientLineSize;

  @override
  final double gradientLineTopSpacing;

  @override
  final double gradientLineSpacing;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;
  static _TrophyAwardDesignSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _TrophyAwardDesignSpec._(
      _measuredMetrics, offset,
      EdgeInsets.only(
          left: 0.0,
          right: 0.0,
          top: _measuredMetrics.measureVertical(40.0, consistent: true),
          bottom: _measuredMetrics.measureVertical(100.0, consistent: true)),
      EdgeInsets.only(
          left: _measuredMetrics.measureHorizontal(22.5),
          right: _measuredMetrics.measureHorizontal(22.5),
          top: 0.0,
          bottom: _measuredMetrics.measureVertical(8.0, consistent: true)),
      _measuredMetrics.measureWidth(200.0), // trophySize
      EdgeInsets.only(
          left: 0.0,
          right: 0.0,
          top: _measuredMetrics.measureHeight(24.0, consistent: true),
          bottom: _measuredMetrics.measureHeight(72.0, consistent: true)),
      _measuredMetrics.measureAbsoluteFontSize(28.0), // monthNameFontSize
      _measuredMetrics.measureHeight(200.0,
          consistent: true), // yearlyHeaderHeight
      EdgeInsets.only(
          left: 0.0,
          right: 0.0,
          top: _measuredMetrics.measureHeight(56.0, consistent: true),
          bottom: _measuredMetrics.measureHeight(64.0, consistent: true)),
      _measuredMetrics.measureAbsoluteFontSize(40.0), // yearHeaderFontSize
      Size(_measuredMetrics.measureWidth(140.0),
          _measuredMetrics.measureHeight(2.0, consistent: true)), // gradientLineSize
      _measuredMetrics.measureHeight(26.0,
          consistent: true), // gradientLineTopSpacing
      _measuredMetrics.measureHorizontal(16.0), // gradientLineSpacing
    );
  }

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