MenuDynamicRouteInfo constructor

const MenuDynamicRouteInfo({
  1. required String path,
  2. required Type page,
  3. required RouteType when(
    1. BuildContext context
    ),
  4. required String title,
  5. IconData? icon,
  6. String? imagePath,
  7. List<RouteInfo>? children,
  8. PageTransition? transition,
  9. String? routePostfix,
})

Implementation

const MenuDynamicRouteInfo({
  required super.path,
  required super.page,
  required super.when,
  required this.title,
  this.icon,
  this.imagePath,
  super.children,
  super.transition,
  super.routePostfix,
});