push<T> abstract method

Future<T?> push<T>(
  1. String page, [
  2. Object? data
])

Navigation.push is used to navigate to another screen maintaining the previous screen

Implementation

Future<T?> push<T>(String page, [Object? data]);