pushWithResult<T> static method
Implementation
static Future<T> pushWithResult<T>(BuildContext context, Widget page) async {
return await Navigator.push(context, MaterialPageRoute(
builder: (context) => page),
);
}
static Future<T> pushWithResult<T>(BuildContext context, Widget page) async {
return await Navigator.push(context, MaterialPageRoute(
builder: (context) => page),
);
}