goToScreen method
It goes to another screen with optionally custom args
Implementation
@override
void goToScreen(String name, BuildContext context, Map<String, String>? args) {
developer.log("Changing screen to $name");
String screenArgs = args != null ? this.buildArgs(args) : "";
this.pushHistoryState(name, screenArgs);
Navigator.pushReplacementNamed(context, name);
}