mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-01 18:07:44 +00:00
22 lines
578 B
Dart
22 lines
578 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
Future<T> showPopUp<T>({
|
|
@required BuildContext context,
|
|
WidgetBuilder builder,
|
|
bool barrierDismissible = true,
|
|
Color barrierColor,
|
|
bool useSafeArea = false,
|
|
bool useRootNavigator = true,
|
|
RouteSettings routeSettings,
|
|
Widget child,
|
|
}) {
|
|
return showDialog<T>(
|
|
context: context,
|
|
builder: builder,
|
|
barrierDismissible: barrierDismissible,
|
|
barrierColor: barrierColor,
|
|
useSafeArea: useSafeArea,
|
|
useRootNavigator: useRootNavigator,
|
|
routeSettings: routeSettings,
|
|
child: child);
|
|
}
|