WebPageController constructor

WebPageController({
  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. ScrollPhysics? physics,
  14. State<StatefulWidget>? state,
})

Supply the Scaffold widget options.

Implementation

WebPageController({
  PreferredSizeWidget? appBar,
  Color? backgroundColor,
  bool? resizeToAvoidBottomInset,
  bool? primary,
  DragStartBehavior? drawerDragStartBehavior,
  bool? extendBody,
  bool? extendBodyBehindAppBar,
  Color? drawerScrimColor,
  double? drawerEdgeDragWidth,
  bool? drawerEnableOpenDragGesture,
  bool? endDrawerEnableOpenDragGesture,
  String? restorationId,
  ScrollPhysics? physics,
  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,
        physics: physics,
        state: state,
      );