DialogProps constructor
const
DialogProps({
- AlignmentGeometry? alignment,
- double? elevation,
- String? semanticLabel,
- ShapeBorder? shape,
- Color? barrierColor,
- String barrierLabel = '',
- Color? backgroundColor,
- bool barrierDismissible = true,
- Duration transitionDuration = kThemeChangeDuration,
- AnimationController? animation,
- List<
Widget> ? actions, - MainAxisAlignment? actionsAlignment,
- OverflowBarAlignment? actionsOverflowAlignment,
- double? actionsOverflowButtonSpacing,
- VerticalDirection? actionsOverflowDirection,
- Clip clipBehavior = Clip.none,
- EdgeInsetsGeometry actionsPadding = EdgeInsets.zero,
- EdgeInsets insetPadding = const EdgeInsets.symmetric(horizontal: 40.0, vertical: 24.0),
- EdgeInsetsGeometry? buttonPadding,
- EdgeInsetsGeometry contentPadding = EdgeInsets.zero,
- Offset? anchorPoint,
- RouteTransitionsBuilder? transitionBuilder,
Implementation
const DialogProps({
this.alignment,
this.elevation,
this.semanticLabel,
this.shape,
this.barrierColor,
this.barrierLabel = '',
this.backgroundColor,
this.barrierDismissible = true,
this.transitionDuration = kThemeChangeDuration,
this.animation,
this.actions,
this.actionsAlignment,
this.actionsOverflowAlignment,
this.actionsOverflowButtonSpacing,
this.actionsOverflowDirection,
this.clipBehavior = Clip.none,
this.useRootNavigator = false,
this.actionsPadding = EdgeInsets.zero,
this.insetPadding = const EdgeInsets.symmetric(
horizontal: 40.0,
vertical: 24.0,
),
this.buttonPadding,
this.contentPadding = EdgeInsets.zero,
this.anchorPoint,
this.transitionBuilder,
});