BartScaffold constructor

BartScaffold({
  1. Key? key,
  2. required BartBottomBar bottomBar,
  3. required BartRouteBuilder routesBuilder,
  4. String? initialRoute,
  5. List<NavigatorObserver>? navigatorObservers,
  6. Widget? floatingActionButton,
  7. FloatingActionButtonLocation? floatingActionButtonLocation,
  8. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  9. List<Widget>? persistentFooterButtons,
  10. Widget? drawer,
  11. DrawerCallback? onDrawerChanged,
  12. Widget? endDrawer,
  13. DrawerCallback? onEndDrawerChanged,
  14. Widget? bottomSheet,
  15. Color? backgroundColor,
  16. bool? resizeToAvoidBottomInset,
  17. bool? primary,
  18. DragStartBehavior? drawerDragStartBehavior,
  19. bool? extendBody,
  20. Color? drawerScrimColor,
  21. double? drawerEdgeDragWidth,
  22. bool? drawerEnableOpenDragGesture,
  23. bool? endDrawerEnableOpenDragGesture,
  24. String? restorationId,
})

Implementation

BartScaffold({
  Key? key,
  required this.bottomBar,
  required this.routesBuilder,
  this.initialRoute,
  this.navigatorObservers,
  this.floatingActionButton,
  this.floatingActionButtonLocation,
  this.floatingActionButtonAnimator,
  this.persistentFooterButtons,
  this.drawer,
  this.onDrawerChanged,
  this.endDrawer,
  this.onEndDrawerChanged,
  this.bottomSheet,
  this.backgroundColor,
  this.resizeToAvoidBottomInset,
  this.primary,
  this.drawerDragStartBehavior,
  this.extendBody,
  this.drawerScrimColor,
  this.drawerEdgeDragWidth,
  this.drawerEnableOpenDragGesture,
  this.endDrawerEnableOpenDragGesture,
  this.restorationId,
})  : appBarNotifier = ValueNotifier(null),
      showAppBarNotifier = ValueNotifier(false);