openPage<T> method
Implementation
Future<T?> openPage<T>(BuildContext context) {
return Navigator.push<T>(
context,
MaterialPageRoute<T>(builder: build),
);
}
Future<T?> openPage<T>(BuildContext context) {
return Navigator.push<T>(
context,
MaterialPageRoute<T>(builder: build),
);
}