ModalOptions constructor
const
ModalOptions({
- double gaussian = 0,
- bool? ignoring,
- bool? absorbing,
- Color? backgroundColor,
- Color? foregroundColor,
- GestureTapCallback? onModalTap,
- AlignmentGeometry? alignment,
- MaterialType? type,
- double? elevation,
- Color? shadowColor,
- TextStyle? textStyle,
- BorderRadiusGeometry? borderRadius,
- ShapeBorder? shape,
- bool? borderOnForeground,
- BoxConstraints? constraints,
- bool safeLTRB = true,
- bool resizeToAvoidBottomInset = true,
- Duration insetAnimationDuration = const Duration(milliseconds: 100),
- 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,
});