BaseAlertDialog constructor
const
BaseAlertDialog({
- Key? key,
- Widget? title,
- Widget? content,
- List<
Widget> actions = const <Widget>[], - bool enableLiquidGlass = true,
- double glassOpacity = 0.8,
- double reflectionIntensity = 0.6,
- double refractionStrength = 0.4,
- bool adaptiveInteraction = true,
- bool contentHierarchy = true,
- bool hapticFeedback = true,
- ScrollController? scrollController,
- ScrollController? actionScrollController,
- Duration insetAnimationDuration = const Duration(milliseconds: 100),
- Curve insetAnimationCurve = Curves.decelerate,
- EdgeInsetsGeometry? titlePadding,
- TextStyle? titleTextStyle,
- EdgeInsetsGeometry contentPadding = const EdgeInsets.fromLTRB(24.0, 20.0, 24.0, 24.0),
- TextStyle? contentTextStyle,
- Color? backgroundColor,
- EdgeInsetsGeometry actionsPadding = EdgeInsets.zero,
- VerticalDirection? actionsOverflowDirection,
- double? actionsOverflowButtonSpacing,
- EdgeInsetsGeometry? buttonPadding,
- double? elevation,
- String? semanticLabel,
- EdgeInsets insetPadding = const EdgeInsets.symmetric(horizontal: 40.0, vertical: 24.0),
- Clip clipBehavior = Clip.none,
- ShapeBorder? shape,
- bool scrollable = false,
- BaseParam? baseParam,
Implementation
const BaseAlertDialog({
Key? key,
this.title,
this.content,
this.actions = const <Widget>[],
// iOS 26 Liquid Glass Dynamic Material properties
this.enableLiquidGlass = true,
this.glassOpacity = 0.8,
this.reflectionIntensity = 0.6,
this.refractionStrength = 0.4,
this.adaptiveInteraction = true,
this.contentHierarchy = true,
this.hapticFeedback = true,
// cupertino
this.scrollController,
this.actionScrollController,
this.insetAnimationDuration = const Duration(milliseconds: 100),
this.insetAnimationCurve = Curves.decelerate,
// material
this.titlePadding,
this.titleTextStyle,
this.contentPadding = const EdgeInsets.fromLTRB(24.0, 20.0, 24.0, 24.0),
this.contentTextStyle,
this.backgroundColor,
this.actionsPadding = EdgeInsets.zero,
this.actionsOverflowDirection,
this.actionsOverflowButtonSpacing,
this.buttonPadding,
this.elevation,
this.semanticLabel,
this.insetPadding = const EdgeInsets.symmetric(horizontal: 40.0, vertical: 24.0),
this.clipBehavior = Clip.none,
this.shape,
this.scrollable = false,
BaseParam? baseParam,
}) : super(key: key, baseParam: baseParam);