ModalOptions constructor

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

Implementation

const ModalOptions({
  this.gaussian = 0,
  this.ignoring,
  this.absorbing,
  this.backgroundColor,
  this.foregroundColor,
  this.onModalTap,
  this.alignment,
  this.type,
  this.elevation,
  this.shadowColor,
  this.textStyle,
  this.borderRadius,
  this.shape,
  this.borderOnForeground,
  this.constraints,
  this.safeLTRB = true,
  this.resizeToAvoidBottomInset = true,
  this.insetAnimationDuration = const Duration(milliseconds: 100),
  this.insetAnimationCurve = Curves.decelerate,
});