BartScaffold constructor
BartScaffold({
- Key? key,
- required BartBottomBar bottomBar,
- required BartRouteBuilder routesBuilder,
- String? initialRoute,
- Widget? floatingActionButton,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- Widget? drawer,
- DrawerCallback? onDrawerChanged,
- Widget? endDrawer,
- DrawerCallback? onEndDrawerChanged,
- Widget? bottomSheet,
- Color? backgroundColor,
- bool? resizeToAvoidBottomInset,
- bool? primary,
- DragStartBehavior? drawerDragStartBehavior,
- bool? extendBody,
- Color? drawerScrimColor,
- double? drawerEdgeDragWidth,
- bool? drawerEnableOpenDragGesture,
- bool? endDrawerEnableOpenDragGesture,
- 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);