screenForRoute method
Implementation
Widget? screenForRoute() {
for (var info in FlickerConfiguration.routes) {
if (info.routeName == routeName) return info.screen();
}
return FlickerConfiguration.unknownScreen;
}
Widget? screenForRoute() {
for (var info in FlickerConfiguration.routes) {
if (info.routeName == routeName) return info.screen();
}
return FlickerConfiguration.unknownScreen;
}