NomoModalSheet constructor
const
NomoModalSheet(- {dynamic key,
- required dynamic context,
- required List pages,
- dynamic pageIndexNotifier,
- dynamic decorator(
- dynamic
)?,
- bool? useSafeArea,
- bool? barrierDismissible,
- bool? enableDrag,
- bool? showDragHandle,
- dynamic routeSettings,
- Duration? transitionDuration,
- void onModalDismissedWithBarrierTap(
)?,
- void onModalDismissedWithDrag(
)?,
- dynamic transitionAnimationController,
- dynamic bottomSheetTransitionAnimation,
- dynamic dialogTransitionAnimation,
- double? minDialogWidth = 400,
- double? maxDialogWidth = 560,
- double? minPageHeight = 0.0,
- double? maxPageHeight = 0.9,
- dynamic modalBarrierColor}
)
Implementation
const NomoModalSheet({
Key? key,
required this.context,
required this.pages,
this.pageIndexNotifier,
this.decorator,
this.useSafeArea,
this.barrierDismissible,
this.enableDrag,
this.showDragHandle,
this.routeSettings,
this.transitionDuration,
this.onModalDismissedWithBarrierTap,
this.onModalDismissedWithDrag,
this.transitionAnimationController,
this.bottomSheetTransitionAnimation,
this.dialogTransitionAnimation,
this.minDialogWidth = 400,
this.maxDialogWidth = 560,
this.minPageHeight = 0.0,
this.maxPageHeight = 0.9,
this.modalBarrierColor,
}) : super(key: key);