push<T> method

Future<T?> push<T>(
  1. WidgetBuilder builder
)

Pushes the built widget to the screen using the material fade in animation

Will return a value when the built widget calls pop

Implementation

Future<T?> push<T>(WidgetBuilder builder) {
  return this.navigator.push<T>(MaterialPageRoute(builder: builder));
}