// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'dialog_label_alert_design_model.dart';

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

class _DialogLabelAlertDesignSpec extends DialogLabelAlertDesignSpec {
  _DialogLabelAlertDesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.contentSpec,
  );

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

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

  @override
  final DialogLabelAlertContentDesignSpec contentSpec;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

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

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

class _DialogLabelAlertContentDesignSpec
    extends DialogLabelAlertContentDesignSpec {
  _DialogLabelAlertContentDesignSpec._(
    this.measuredMetrics,
    this.specOffset,
    this.contentInsets,
    this.cardRadius,
    this.contentFontSize,
    this.buttonTopSpace,
    this.horizontalLineHeight,
    this.verticalLineWidth,
    this.buttonHeight,
    this.buttonFontSize,
  );

  static final designMetrics = DesignMetrics.create(const Size(590.0, 328.0));

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

  @override
  final EdgeInsets contentInsets;

  @override
  final BorderRadius cardRadius;

  @override
  final double contentFontSize;

  @override
  final double buttonTopSpace;

  @override
  final double horizontalLineHeight;

  @override
  final double verticalLineWidth;

  @override
  final double buttonHeight;

  @override
  final double buttonFontSize;

  @override
  final MeasuredMetrics measuredMetrics;

  @override
  final Offset specOffset;

  @override
  Size get measuredSize => measuredMetrics.size;
  static _DialogLabelAlertContentDesignSpec _create(
    Size measuredSize, {
    Offset offset = Offset.zero,
  }) {
    final _measuredMetrics = designMetrics.measure(measuredSize);
    return _DialogLabelAlertContentDesignSpec._(
      _measuredMetrics, offset,
      EdgeInsets.only(
          left: _measuredMetrics.measureHorizontal(64.0),
          right: _measuredMetrics.measureHorizontal(64.0),
          top: _measuredMetrics.measureVertical(56.0),
          bottom: 0.0),
      BorderRadius.circular(_measuredMetrics.measureHeight(40.0)),
      _measuredMetrics.measureAbsoluteFontSize(32.0), // contentFontSize
      _measuredMetrics.measureHeight(64.0), // buttonTopSpace
      0.5, // horizontalLineHeight
      0.5, // verticalLineWidth
      _measuredMetrics.measureHeight(104.0), // buttonHeight
      _measuredMetrics.measureAbsoluteFontSize(32.0), // buttonFontSize
    );
  }
}
