MenuRouter constructor
const
MenuRouter({
- Key? key,
- String? initialRoute,
- required BartRouteBuilder routesBuilder,
- required ValueNotifier<
int> indexNotifier, - required ValueNotifier<
BartMenuRouteType> routingTypeNotifier, - OnRouteChanged? onRouteChanged,
- required Widget child,
Implementation
const MenuRouter({
super.key,
String? initialRoute,
required this.routesBuilder,
required this.navigationKey,
required this.indexNotifier,
required this.routingTypeNotifier,
this.onRouteChanged,
required super.child,
});