routeWidgetList property

List<BottomNavigationBarItem> get routeWidgetList

Implementation

List<BottomNavigationBarItem> get routeWidgetList => routes
    .where((element) => element.routingType == BartMenuRouteType.BOTTOM_NAV)
    .map((route) => BottomNavigationBarItem(
          icon: Icon(route.icon),
          label: route.label,
        ))
    .toList();