// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'going_store_design_spec.dart';

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

class _GoingStoreDialogSpec extends GoingStoreDialogSpec {
  _GoingStoreDialogSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.goingStoreSpec,
  );

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

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

  @override
  final GoingStoreSpec goingStoreSpec;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;
  static _GoingStoreDialogSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _GoingStoreDialogSpec._(
      _measuredMetrics,
      offset,
      GoingStoreSpec.create(
          Size(
              (_measuredMetrics.measuredWidth * 0.6667).clamp(0.0, 400.0),
              (_measuredMetrics.measuredWidth * 0.6667).clamp(0.0, 400.0) /
                  (1.6891891891891893)),
          offset: offset),
    );
  }

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

class _GoingStoreSpec extends GoingStoreSpec {
  _GoingStoreSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.radius,
    this.dotTopSpacing,
    this.dotSize,
    this.summaryTopSpacing,
    this.emojiTopSpacing,
    this.summaryFontSize,
    this.emojiTextSize,
    this.emojiBottomSpacing,
  );

  static final designMetrics = DesignMetrics.create(const Size(500.0, 296.0));

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

  @override
  final BorderRadius radius;

  @override
  final double dotTopSpacing;

  @override
  final double dotSize;

  @override
  final double summaryTopSpacing;

  @override
  final double emojiTopSpacing;

  @override
  final double summaryFontSize;

  @override
  final double emojiTextSize;

  @override
  final double emojiBottomSpacing;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;
  static _GoingStoreSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _GoingStoreSpec._(
      _measuredMetrics, offset,
      BorderRadius.circular(_measuredMetrics.measureHeight(40.0)),
      _measuredMetrics.measureHeight(64.0), // dotTopSpacing
      _measuredMetrics.measureHeight(32.0), // dotSize
      _measuredMetrics.measureHeight(20.0), // summaryTopSpacing
      _measuredMetrics.measureHeight(10.0), // emojiTopSpacing
      _measuredMetrics.measureFontSize(24.0), // summaryFontSize
      _measuredMetrics.measureFontSize(40.0), // emojiTextSize
      _measuredMetrics.measureHeight(26.0), // emojiBottomSpacing
    );
  }
}
