push<T> method

Future<T?> push<T>(
  1. Widget child
)

Implementation

Future<T?> push<T>(Widget child) {
  return Navigator.push<T>(
      this,
      MaterialPageRoute<T>(
        builder: (context) => child,
      ));
}