open<T> method

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

Implementation

Future<T?> open<T>(BuildContext context) {
  return showDialog<T>(
      context: context, barrierDismissible: true, builder: (context) => this);
}