CustomPopupRoutes<T> constructor

CustomPopupRoutes<T>({
  1. required RoutePageBuilder pageBuilder,
  2. bool barrierDismissible = true,
  3. String? barrierLabel,
  4. Color barrierColor = const Color(0x80000000),
  5. Duration transitionDuration = const Duration(milliseconds: 200),
  6. RouteTransitionsBuilder? transitionBuilder,
  7. RouteSettings? settings,
})

Implementation

CustomPopupRoutes({
  required RoutePageBuilder pageBuilder,
  bool barrierDismissible = true,
  String? barrierLabel,
  Color barrierColor = const Color(0x80000000),
  Duration transitionDuration = const Duration(milliseconds: 200),
  RouteTransitionsBuilder? transitionBuilder,
  RouteSettings? settings,
})  : _pageBuilder = pageBuilder,
      _barrierDismissible = barrierDismissible,
      _barrierLabel = barrierLabel,
      _barrierColor = barrierColor,
      _transitionDuration = transitionDuration,
      _transitionBuilder = transitionBuilder,
      super(settings: settings);