open<T> method

Future<T?> open<T>(
  1. BuildContext context
)

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);
}