launchNewScreen<T> function

Future<T?> launchNewScreen<T>(
  1. BuildContext context,
  2. String tag
)

Implementation

Future<T?> launchNewScreen<T>(BuildContext context, String tag) async =>
    Navigator.of(context).pushNamed(tag);