import 'package:design/design.dart';
part 'dialog_buttons_alert_design_model.g.dart';

@DesignSpec(width: 750, height: 1624)
abstract class DialogButtonsAlertDesignSpec implements BasicDesignSpec {
  @NestedAspectSpec(654.0 / 376.0, 654.0 / 750.0, widthUpperLimit: 400)
  DialogButtonsAlertContentDesignSpec get contentSpec;

  static DialogButtonsAlertDesignSpec get() => _DialogButtonsAlertDesignSpec.get();
}

@DesignSpec(width: 654.0, height: 376.0, nestedSpec: true)
abstract class DialogButtonsAlertContentDesignSpec implements BasicDesignSpec {
  @SpecEdgeInsets.only(top: SpecVertical(80), start: SpecHorizontal(88), end: SpecHorizontal(88))
  EdgeInsets get contentInsets;

  @SpecRadius.circular(SpecHeight(40))
  BorderRadius get cardRadius;

  @SpecAbsoluteFontSize(32)
  double get contentFontSize;

  @SpecHeight(56)
  double get buttonTopSpace;

  @SpecHeight(96)
  double get buttonHeight;

  @SpecWidth(272)
  double get buttonWidth;

  @SpecWidth(40)
  double get buttonLeftSpace;

  @SpecWidth(40)
  double get buttonRightSpace;

  @SpecWidth(30)
  double get buttonSpace;

  @SpecAbsoluteFontSize(32)
  double get buttonFontSize;

  @SpecRadius.circular(SpecHeight(48))
  BorderRadius get buttonRadius;

  @SpecHeight(48)
  double get buttonBottomSpace;

  static DialogButtonsAlertContentDesignSpec create(Size measuredSize, {Offset offset = Offset.zero}) => _DialogButtonsAlertContentDesignSpec._create(measuredSize, offset: offset);
}
