spPush function
Implementation
void spPush({required BuildContext context, required Widget screen}) {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => screen,
),
);
}
void spPush({required BuildContext context, required Widget screen}) {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => screen,
),
);
}