goNext method
Implementation
void goNext(BuildContext context, String name, [Object? argument]) {
sharedModel.navigator.routeName = name;
Future.delayed(const Duration(milliseconds: 1), () {
Navigator.of(context).pushReplacementNamed(name, arguments: argument);
});
}