FlutterScaffold constructor

  1. @FreezedUnionValue.new(FlutterScaffold.unionValue)
FlutterScaffold({
  1. @cN FlutterKey? key,
  2. @cN AnyWidget? appBar,
  3. @cN AnyWidget? body,
  4. @cN AnyWidget? floatingActionButton,
  5. @cN AnyWidgetList? persistentFooterButtons,
  6. @cN AnyWidget? drawer,
  7. @cN AnyWidget? endDrawer,
  8. @cN AnyWidget? bottomNavigationBar,
  9. @cN AnyWidget? bottomSheet,
  10. FlutterColor? backgroundColor,
  11. bool? resizeToAvoidBottomInset,
  12. bool? primary,
  13. bool? extendBody,
  14. bool? extendBodyBehindAppBar,
  15. FlutterColor? drawerScrimColor,
  16. double? drawerEdgeDragWidth,
  17. bool? drawerEnableOpenDragGesture,
  18. bool? endDrawerEnableOpenDragGesture,
  19. 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;