GrockFullScreenModal<T> constructor
GrockFullScreenModal<T> ({
- required Widget builder(
- BuildContext context,
- Animation<
double> animation, - Animation<
double> secondaryAnimation
- bool isSlideTransition = true,
- bool isScaleTransition = false,
- bool isFadeTranssition = true,
- bool isRotateTransition = false,
- bool isVerticalGestureClose = false,
- Alignment scaleAlignment = Alignment.topCenter,
- SlideTransitionType slideTransitionType = SlideTransitionType.fromTop,
- Duration openDuration = const Duration(milliseconds: 500),
- bool isOpaque = false,
- bool isBarrierDismissible = false,
- Color barrierColorValue = Colors.black54,
- String? barrierLabelValue,
- 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,
});