BartScaffold constructor

BartScaffold({
  1. Key? key,
  2. required BartBottomBar bottomBar,
  3. required BartRouteBuilder routesBuilder,
  4. SideBarOptions? sideBarOptions,
  5. String? initialRoute,
  6. ScaffoldOptions? scaffoldOptions,
  7. OnRouteChanged? onRouteChanged,
  8. 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);