WebPageBaseController constructor

WebPageBaseController({
  1. PreferredSizeWidget? appBar,
  2. Color? backgroundColor,
  3. bool? resizeToAvoidBottomInset,
  4. bool? primary,
  5. DragStartBehavior? drawerDragStartBehavior,
  6. bool? extendBody,
  7. bool? extendBodyBehindAppBar,
  8. Color? drawerScrimColor,
  9. double? drawerEdgeDragWidth,
  10. bool? drawerEnableOpenDragGesture,
  11. bool? endDrawerEnableOpenDragGesture,
  12. String? restorationId,
  13. Axis? scrollDirection,
  14. bool? reverse,
  15. EdgeInsetsGeometry? padding,
  16. ScrollPhysics? physics,
  17. DragStartBehavior? dragStartBehavior,
  18. Clip? clipBehavior,
  19. ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior,
  20. State<StatefulWidget>? state,
})

Many the Scaffold widget options.

Implementation

WebPageBaseController({
  PreferredSizeWidget? appBar,
  Color? backgroundColor,
  bool? resizeToAvoidBottomInset,
  bool? primary,
  DragStartBehavior? drawerDragStartBehavior,
  bool? extendBody,
  bool? extendBodyBehindAppBar,
  Color? drawerScrimColor,
  double? drawerEdgeDragWidth,
  bool? drawerEnableOpenDragGesture,
  bool? endDrawerEnableOpenDragGesture,
  String? restorationId,
  this.scrollDirection,
  this.reverse,
  this.padding,
  this.physics,
  this.dragStartBehavior,
  this.clipBehavior,
  this.keyboardDismissBehavior,
  State? state,
}) : super(
        appBar: appBar,
        backgroundColor: backgroundColor,
        resizeToAvoidBottomInset: resizeToAvoidBottomInset,
        primary: primary,
        drawerDragStartBehavior: drawerDragStartBehavior,
        extendBody: extendBody,
        extendBodyBehindAppBar: extendBodyBehindAppBar,
        drawerScrimColor: drawerScrimColor,
        drawerEdgeDragWidth: drawerEdgeDragWidth,
        drawerEnableOpenDragGesture: drawerEnableOpenDragGesture,
        endDrawerEnableOpenDragGesture: endDrawerEnableOpenDragGesture,
        restorationId: restorationId,
        state: state,
      );