mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
21 lines
541 B
Dart
21 lines
541 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
|
|
}) {
|
|
return showDialog<T>(
|
|
context: context,
|
|
builder: builder,
|
|
barrierDismissible: barrierDismissible,
|
|
barrierColor: barrierColor,
|
|
useSafeArea: useSafeArea,
|
|
useRootNavigator: useRootNavigator,
|
|
routeSettings: routeSettings);
|
|
}
|