NomoModalSheet constructor

const NomoModalSheet(
  1. {dynamic key,
  2. required dynamic context,
  3. required List pages,
  4. dynamic pageIndexNotifier,
  5. dynamic decorator(
    1. dynamic
    )?,
  6. bool? useSafeArea,
  7. bool? barrierDismissible,
  8. bool? enableDrag,
  9. bool? showDragHandle,
  10. dynamic routeSettings,
  11. Duration? transitionDuration,
  12. void onModalDismissedWithBarrierTap(
      )?,
    1. void onModalDismissedWithDrag(
        )?,
      1. dynamic transitionAnimationController,
      2. dynamic bottomSheetTransitionAnimation,
      3. dynamic dialogTransitionAnimation,
      4. double? minDialogWidth = 400,
      5. double? maxDialogWidth = 560,
      6. double? minPageHeight = 0.0,
      7. double? maxPageHeight = 0.9,
      8. 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);