newScreen static method
dynamic
newScreen({
- dynamic context,
- dynamic screen,
Implementation
static newScreen({context, screen}) {
return Navigator.push(
context, MaterialPageRoute(builder: (context) => screen));
}