showCGeneralDialog<T extends Object?> method
Future<T?>
showCGeneralDialog<T extends Object?>({
- required RoutePageBuilder pageBuilder,
- Cancellable? cancellable,
- bool barrierDismissible = false,
- String? barrierLabel,
- Color barrierColor = const Color(0x80000000),
- Duration transitionDuration = const Duration(milliseconds: 200),
- RouteTransitionsBuilder? transitionBuilder,
- RouteSettings? routeSettings,
- Offset? anchorPoint,
Implementation
Future<T?> showCGeneralDialog<T extends Object?>({
required RoutePageBuilder pageBuilder,
Cancellable? cancellable,
bool barrierDismissible = false,
String? barrierLabel,
Color barrierColor = const Color(0x80000000),
Duration transitionDuration = const Duration(milliseconds: 200),
RouteTransitionsBuilder? transitionBuilder,
bool useRootNavigator = true,
RouteSettings? routeSettings,
Offset? anchorPoint,
}) =>
d.showCGeneralDialog(
context: this,
pageBuilder: pageBuilder,
cancellable: cancellable,
barrierDismissible: barrierDismissible,
barrierColor: barrierColor,
barrierLabel: barrierLabel,
useRootNavigator: useRootNavigator,
routeSettings: routeSettings,
anchorPoint: anchorPoint,
transitionBuilder: transitionBuilder,
transitionDuration: transitionDuration,
);