open<T> method
Implementation
Future<T?> open<T>(BuildContext context) {
return showDialog<T>(
context: context,
barrierDismissible: true,
useSafeArea: false,
barrierColor: Theme.of(context).colorScheme.background.withOpacity(0.9),
builder: (context) => this);
}