push method
Implementation
push(BuildContext context, Widget page) {
try {
Navigator.of(context).push(
MaterialPageRoute(
builder: (context) {
return page;
},
),
);
} catch (e) {}
}
push(BuildContext context, Widget page) {
try {
Navigator.of(context).push(
MaterialPageRoute(
builder: (context) {
return page;
},
),
);
} catch (e) {}
}