FlutterScaffold constructor
- @FreezedUnionValue.new(FlutterScaffold.unionValue)
FlutterScaffold(
{ - @cN FlutterKey? key,
- @cN AnyWidget? appBar,
- @cN AnyWidget? body,
- @cN AnyWidget? floatingActionButton,
- @cN AnyWidget? drawer,
- @cN AnyWidget? endDrawer,
- @cN AnyWidget? bottomNavigationBar,
- @cN AnyWidget? bottomSheet,
- FlutterColor? backgroundColor,
- bool? resizeToAvoidBottomInset,
- bool? primary,
- bool? extendBody,
- bool? extendBodyBehindAppBar,
- FlutterColor? drawerScrimColor,
- double? drawerEdgeDragWidth,
- bool? drawerEnableOpenDragGesture,
- bool? endDrawerEnableOpenDragGesture,
- String? restorationId,
})
Implementation
@FreezedUnionValue(FlutterScaffold.unionValue)
factory FlutterScaffold({
@FlutterKey.cN FlutterKey? key,
// PreferredSizeWidget?
@AnyWidget.cN AnyWidget? appBar,
@AnyWidget.cN AnyWidget? body,
@AnyWidget.cN AnyWidget? floatingActionButton,
// FloatingActionButtonLocation? floatingActionButtonLocation,
// FloatingActionButtonAnimator? floatingActionButtonAnimator,
@AnyWidgetList.cN AnyWidgetList? persistentFooterButtons,
@AnyWidget.cN AnyWidget? drawer,
// DrawerCallback? onDrawerChanged,
@AnyWidget.cN AnyWidget? endDrawer,
// DrawerCallback? onEndDrawerChanged,
@AnyWidget.cN AnyWidget? bottomNavigationBar,
@AnyWidget.cN AnyWidget? bottomSheet,
FlutterColor? backgroundColor,
bool? resizeToAvoidBottomInset,
bool? primary,
// DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
bool? extendBody,
bool? extendBodyBehindAppBar,
FlutterColor? drawerScrimColor,
double? drawerEdgeDragWidth,
bool? drawerEnableOpenDragGesture,
bool? endDrawerEnableOpenDragGesture,
String? restorationId,
}) = _FlutterScaffold;