CupertinoModalPopupRoute<T> constructor

CupertinoModalPopupRoute<T>({
  1. required WidgetBuilder builder,
  2. String barrierLabel = 'Dismiss',
  3. Color? barrierColor = kCupertinoModalBarrierColor,
  4. bool barrierDismissible = true,
  5. bool semanticsDismissible = false,
  6. ImageFilter? filter,
  7. RouteSettings? settings,
  8. bool? requestFocus,
  9. 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 = false,
  super.filter,
  super.settings,
  super.requestFocus,
  this.anchorPoint,
}) : _barrierDismissible = barrierDismissible,
     _semanticsDismissible = semanticsDismissible;