DialogProps constructor

const DialogProps({
  1. AlignmentGeometry? alignment,
  2. double? elevation,
  3. String? semanticLabel,
  4. ShapeBorder? shape,
  5. Color? barrierColor,
  6. String barrierLabel = '',
  7. Color? backgroundColor,
  8. bool barrierDismissible = true,
  9. Duration transitionDuration = kThemeChangeDuration,
  10. AnimationController? animation,
  11. List<Widget>? actions,
  12. MainAxisAlignment? actionsAlignment,
  13. OverflowBarAlignment? actionsOverflowAlignment,
  14. double? actionsOverflowButtonSpacing,
  15. VerticalDirection? actionsOverflowDirection,
  16. Clip clipBehavior = Clip.none,
  17. bool useRootNavigator = false,
  18. EdgeInsetsGeometry actionsPadding = EdgeInsets.zero,
  19. EdgeInsets insetPadding = const EdgeInsets.symmetric(horizontal: 40.0, vertical: 24.0),
  20. EdgeInsetsGeometry? buttonPadding,
  21. EdgeInsetsGeometry contentPadding = EdgeInsets.zero,
  22. Offset? anchorPoint,
  23. 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,
});