hcLaunchNewScreen<T> function

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

Go to new screen with provided screen tag.

launchNewScreen(context, '/HomePage');

Implementation

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