getAlertDialogInsetPadding static method

EdgeInsets getAlertDialogInsetPadding(
  1. BuildContext context, {
  2. UpStyle? override,
  3. UpStyle? style,
  4. UpColorType? colorType,
})

Implementation

static EdgeInsets getAlertDialogInsetPadding(
  BuildContext context, {
  UpStyle? override,
  UpStyle? style,
  UpColorType? colorType,
}) {
  return override?.alertDialogInsetPadding ??
      style?.alertDialogInsetPadding ??
      getStyleByType(UpConfig.of(context).theme, colorType)
          .alertDialogInsetPadding ??
      const EdgeInsets.symmetric(horizontal: 40.0, vertical: 24.0);
}