// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'dialog_image_double_button_alert_design_model.dart';

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

class _DialogImageDoubleButtonAlertDesignSpec
    extends DialogImageDoubleButtonAlertDesignSpec {
  _DialogImageDoubleButtonAlertDesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.contentSpec,
  );

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

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

  @override
  final DialogImageDoubleButtonAlertContentDesignSpec contentSpec;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

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

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

class _DialogImageDoubleButtonAlertContentDesignSpec
    extends DialogImageDoubleButtonAlertContentDesignSpec {
  _DialogImageDoubleButtonAlertContentDesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.cardRadius,
    this.closeIconInsets,
    this.closeIconSize,
    this.mainTitleInsets,
    this.mainTitleFontSize,
    this.subTitleInsets,
    this.subTitleFontSize,
    this.contentImageInsets,
    this.imageContainerHeight,
    this.descriptionTextInsets,
    this.descriptionTextFontSize,
    this.upButtonTopSpace,
    this.upButtonHeight,
    this.upButtonWidth,
    this.upButtonFontSize,
    this.upButtonImageSize,
    this.buttonImageRightSpace,
    this.upButtonRadius,
    this.downButtonTopSpace,
    this.downButtonFontSize,
    this.downButtonBottomSpace,
  );

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

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

  @override
  final BorderRadius cardRadius;

  @override
  final EdgeInsets closeIconInsets;

  @override
  final Size closeIconSize;

  @override
  final EdgeInsets mainTitleInsets;

  @override
  final double mainTitleFontSize;

  @override
  final EdgeInsets subTitleInsets;

  @override
  final double subTitleFontSize;

  @override
  final EdgeInsets contentImageInsets;

  @override
  final double imageContainerHeight;

  @override
  final EdgeInsets descriptionTextInsets;

  @override
  final double descriptionTextFontSize;

  @override
  final double upButtonTopSpace;

  @override
  final double upButtonHeight;

  @override
  final double upButtonWidth;

  @override
  final double upButtonFontSize;

  @override
  final Size upButtonImageSize;

  @override
  final double buttonImageRightSpace;

  @override
  final BorderRadius upButtonRadius;

  @override
  final double downButtonTopSpace;

  @override
  final double downButtonFontSize;

  @override
  final double downButtonBottomSpace;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;
  static _DialogImageDoubleButtonAlertContentDesignSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _DialogImageDoubleButtonAlertContentDesignSpec._(
      _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), // mainTitleFontSize
      EdgeInsets.only(
          left: _measuredMetrics.measureHorizontal(96.0),
          right: _measuredMetrics.measureHorizontal(96.0),
          top: _measuredMetrics.measureVertical(24.0),
          bottom: 0.0),
      _measuredMetrics.measureAbsoluteFontSize(28.0), // subTitleFontSize
      EdgeInsets.only(
          left: _measuredMetrics.measureHorizontal(63.0),
          right: _measuredMetrics.measureHorizontal(63.0),
          top: _measuredMetrics.measureVertical(24.0),
          bottom: 0.0),
      _measuredMetrics.measureHeight(320.0), // imageContainerHeight
      EdgeInsets.only(
          left: _measuredMetrics.measureHorizontal(56.0),
          right: _measuredMetrics.measureHorizontal(56.0),
          top: _measuredMetrics.measureVertical(24.0),
          bottom: 0.0),
      _measuredMetrics.measureAbsoluteFontSize(28.0), // descriptionTextFontSize
      _measuredMetrics.measureHeight(48.0), // upButtonTopSpace
      _measuredMetrics.measureHeight(96.0), // upButtonHeight
      _measuredMetrics.measureWidth(542.0), // upButtonWidth
      _measuredMetrics.measureAbsoluteFontSize(32.0), // upButtonFontSize
      Size(_measuredMetrics.measureHeight(56.0),
          _measuredMetrics.measureHeight(56.0)), // upButtonImageSize
      _measuredMetrics.measureWidth(12.0), // buttonImageRightSpace
      BorderRadius.circular(_measuredMetrics.measureHeight(48.0)),
      _measuredMetrics.measureHeight(44.0), // downButtonTopSpace
      _measuredMetrics.measureAbsoluteFontSize(32.0), // downButtonFontSize
      _measuredMetrics.measureHeight(64.0), // downButtonBottomSpace
    );
  }
}
