push method
Implementation
push(Widget? widget, context) {
WidgetsBinding.instance!.addPostFrameCallback((_) {
Navigator.push(context, MaterialPageRoute(builder: (context) => widget!));
});
}
push(Widget? widget, context) {
WidgetsBinding.instance!.addPostFrameCallback((_) {
Navigator.push(context, MaterialPageRoute(builder: (context) => widget!));
});
}