screenForRoute method

Widget? screenForRoute()

Implementation

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

  return FlickerConfiguration.unknownScreen;
}