BartScaffold constructor
BartScaffold({
- Key? key,
- required BartBottomBar bottomBar,
- required BartRouteBuilder routesBuilder,
- SideBarOptions? sideBarOptions,
- String? initialRoute,
- ScaffoldOptions? scaffoldOptions,
- OnRouteChanged? onRouteChanged,
- bool showBottomBarOnStart = true,
Implementation
BartScaffold({
super.key,
required this.bottomBar,
required this.routesBuilder,
this.sideBarOptions,
this.initialRoute,
this.scaffoldOptions,
this.onRouteChanged,
bool showBottomBarOnStart = true,
}) : appBarNotifier = ValueNotifier(null),
showAppBarNotifier = ValueNotifier(false),
showBottomBarNotifier = ValueNotifier(showBottomBarOnStart);