startScreen<T> function
Null safety
- BuildContext context,
- Widget screen
Implementation
Future<T?> startScreen<T>(BuildContext context, Widget screen) => Navigator.push<T>(context, MaterialPageRoute(builder: (context) => screen));