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