ModalBoxOptions constructor

const ModalBoxOptions({
  1. AlignmentGeometry? alignment = Alignment.center,
  2. double gaussian = 0,
  3. bool? ignoring,
  4. bool? absorbing,
  5. Color? backgroundColor,
  6. GestureTapCallback? onModalTap,
  7. MaterialType? type,
  8. double? elevation,
  9. Color? shadowColor,
  10. TextStyle? textStyle,
  11. BorderRadiusGeometry? borderRadius,
  12. ShapeBorder? shape,
  13. bool? borderOnForeground,
  14. Color? foregroundColor,
  15. BoxConstraints? constraints,
  16. bool safeLTRB = true,
  17. bool resizeToAvoidBottomInset = true,
  18. Curve insetAnimationCurve = Curves.decelerate,
  19. Duration insetAnimationDuration = const Duration(milliseconds: 100),
})

Implementation

const ModalBoxOptions({
  super.alignment = Alignment.center,
  super.gaussian,
  super.ignoring,
  super.absorbing,
  super.backgroundColor,
  super.onModalTap,
  super.type,
  super.elevation,
  super.shadowColor,
  super.textStyle,
  super.borderRadius,
  super.shape,
  super.borderOnForeground,
  super.foregroundColor,
  super.constraints,
  super.safeLTRB,
  super.resizeToAvoidBottomInset,
  super.insetAnimationCurve,
  super.insetAnimationDuration,
});