GrockFullScreenModal<T> constructor

GrockFullScreenModal<T>({
  1. required Widget builder(
    1. BuildContext context,
    2. Animation<double> animation,
    3. Animation<double> secondaryAnimation
    ),
  2. bool isSlideTransition = true,
  3. bool isScaleTransition = false,
  4. bool isFadeTranssition = true,
  5. bool isRotateTransition = false,
  6. bool isVerticalGestureClose = false,
  7. Alignment scaleAlignment = Alignment.topCenter,
  8. SlideTransitionType slideTransitionType = SlideTransitionType.fromTop,
  9. Duration openDuration = const Duration(milliseconds: 500),
  10. bool isOpaque = false,
  11. bool isBarrierDismissible = false,
  12. Color barrierColorValue = Colors.black54,
  13. String? barrierLabelValue,
  14. bool isMaintainState = true,
})

Implementation

GrockFullScreenModal({
  required this.builder,
  this.isSlideTransition = true,
  this.isScaleTransition = false,
  this.isFadeTranssition = true,
  this.isRotateTransition = false,
  this.isVerticalGestureClose = false,
  this.scaleAlignment = Alignment.topCenter,
  this.slideTransitionType = SlideTransitionType.fromTop,
  this.openDuration = const Duration(milliseconds: 500),
  this.isOpaque = false,
  this.isBarrierDismissible = false,
  this.barrierColorValue = Colors.black54,
  this.barrierLabelValue,
  this.isMaintainState = true,
});