openPage<T> method

Future<T?> openPage<T>(
  1. BuildContext context
)

Implementation

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