pushReplacementDialog<T> abstract method

Future<T?> pushReplacementDialog<T>(
  1. BuildContext context,
  2. Widget dialog
)

Replaces the current route with a dialog and waits for a result.

Implementation

Future<T?> pushReplacementDialog<T>(BuildContext context, Widget dialog);