CupertinoModalPopupRoute<T> constructor
Null safety
- {required WidgetBuilder builder,
- String barrierLabel = 'Dismiss',
- Color? barrierColor = kCupertinoModalBarrierColor,
- bool barrierDismissible = true,
- bool? semanticsDismissible,
- ImageFilter? filter,
- RouteSettings? settings,
- Offset? anchorPoint}
A route that shows a modal iOS-style popup that slides up from the bottom of the screen.
Implementation
CupertinoModalPopupRoute({
required this.builder,
this.barrierLabel = 'Dismiss',
this.barrierColor = kCupertinoModalBarrierColor,
bool barrierDismissible = true,
bool? semanticsDismissible,
super.filter,
super.settings,
this.anchorPoint,
}) {
_barrierDismissible = barrierDismissible;
_semanticsDismissible = semanticsDismissible;
}