OneUIAlertDialog constructor
const
OneUIAlertDialog({
- Key? key,
- Widget? title,
- EdgeInsetsGeometry? titlePadding,
- TextStyle? titleTextStyle,
- Widget? content,
- EdgeInsetsGeometry contentPadding = const EdgeInsets.fromLTRB(24.0, 20.0, 24.0, 24.0),
- TextStyle? contentTextStyle,
- List<
OneUIDialogAction> ? actions, - EdgeInsetsGeometry actionsPadding = const EdgeInsets.fromLTRB(24.0, 0.0, 24.0, 16.0),
- VerticalDirection? actionsOverflowDirection,
- double? actionsOverflowButtonSpacing,
- EdgeInsetsGeometry? buttonPadding,
- Color? backgroundColor,
- String? semanticLabel,
- EdgeInsets insetPadding = _defaultInsetPadding,
- Clip clipBehavior = Clip.none,
- ShapeBorder? shape,
- bool scrollable = false,
- bool useOneUITheme = true,
Implementation
const OneUIAlertDialog({
Key? key,
this.title,
this.titlePadding,
this.titleTextStyle,
this.content,
this.contentPadding = const EdgeInsets.fromLTRB(24.0, 20.0, 24.0, 24.0),
this.contentTextStyle,
this.actions,
this.actionsPadding = const EdgeInsets.fromLTRB(24.0, 0.0, 24.0, 16.0),
this.actionsOverflowDirection,
this.actionsOverflowButtonSpacing,
this.buttonPadding,
this.backgroundColor,
this.semanticLabel,
this.insetPadding = _defaultInsetPadding,
this.clipBehavior = Clip.none,
this.shape,
this.scrollable = false,
this.useOneUITheme = true,
}) : super(key: key);