// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'dialog_how_to_play_alert_design_model.dart';

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

class _DialogHowToPlayAlertDesignSpec extends DialogHowToPlayAlertDesignSpec {
  _DialogHowToPlayAlertDesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.contentSpec,
  );

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

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

  @override
  final DialogHowToPlayAlertContentDesignSpec contentSpec;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

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

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

class _DialogHowToPlayAlertContentDesignSpec
    extends DialogHowToPlayAlertContentDesignSpec {
  _DialogHowToPlayAlertContentDesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.cardRadius,
    this.closeIconInsets,
    this.closeIconSize,
    this.titleInsets,
    this.titleFontSize,
    this.imageInsets,
    this.descriptionInsets,
    this.descriptionFontSize,
    this.indicatorTopSpace,
    this.indicatorSize,
    this.indicatorSpace,
    this.buttonTopSpace,
    this.buttonHeight,
    this.buttonWidth,
    this.buttonFontSize,
    this.buttonBottomSpace,
    this.buttonRadius,
  );

  static final designMetrics = DesignMetrics.create(const Size(654.0, 977.0));

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

  @override
  final BorderRadius cardRadius;

  @override
  final EdgeInsets closeIconInsets;

  @override
  final Size closeIconSize;

  @override
  final EdgeInsets titleInsets;

  @override
  final double titleFontSize;

  @override
  final EdgeInsets imageInsets;

  @override
  final EdgeInsets descriptionInsets;

  @override
  final double descriptionFontSize;

  @override
  final double indicatorTopSpace;

  @override
  final double indicatorSize;

  @override
  final double indicatorSpace;

  @override
  final double buttonTopSpace;

  @override
  final double buttonHeight;

  @override
  final double buttonWidth;

  @override
  final double buttonFontSize;

  @override
  final double buttonBottomSpace;

  @override
  final BorderRadius buttonRadius;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;
  static _DialogHowToPlayAlertContentDesignSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _DialogHowToPlayAlertContentDesignSpec._(
      _measuredMetrics, offset,
      BorderRadius.circular(_measuredMetrics.measureHeight(40.0)),
      EdgeInsets.only(
          left: _measuredMetrics.measureHorizontal(32.0),
          right: 0.0,
          top: _measuredMetrics.measureVertical(40.0),
          bottom: 0.0),
      Size(_measuredMetrics.measureWidth(48.0),
          _measuredMetrics.measureWidth(48.0)), // closeIconSize
      EdgeInsets.only(
          left: _measuredMetrics.measureHorizontal(96.0),
          right: _measuredMetrics.measureHorizontal(96.0),
          top: _measuredMetrics.measureVertical(80.0),
          bottom: 0.0),
      _measuredMetrics.measureAbsoluteFontSize(36.0), // titleFontSize
      EdgeInsets.only(
          left: _measuredMetrics.measureHorizontal(63.0),
          right: _measuredMetrics.measureHorizontal(63.0),
          top: _measuredMetrics.measureVertical(56.0),
          bottom: 0.0),
      EdgeInsets.only(
          left: _measuredMetrics.measureHorizontal(66.0),
          right: _measuredMetrics.measureHorizontal(66.0),
          top: _measuredMetrics.measureVertical(48.0),
          bottom: 0.0),
      _measuredMetrics.measureAbsoluteFontSize(28.0), // descriptionFontSize
      _measuredMetrics.measureHeight(80.0), // indicatorTopSpace
      _measuredMetrics.measureHeight(12.0), // indicatorSize
      _measuredMetrics.measureWidth(8.0), // indicatorSpace
      _measuredMetrics.measureHeight(48.0), // buttonTopSpace
      _measuredMetrics.measureHeight(96.0), // buttonHeight
      _measuredMetrics.measureWidth(542.0), // buttonWidth
      _measuredMetrics.measureAbsoluteFontSize(32.0), // buttonFontSize
      _measuredMetrics.measureHeight(72.0), // buttonBottomSpace
      BorderRadius.circular(_measuredMetrics.measureHeight(48.0)),
    );
  }
}
