CupertinoModalPopupRoute<T> constructor Null safety

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