WebPageControllerWrapper constructor
WebPageControllerWrapper({
- Widget? drawer(
- BuildContext context
- DrawerCallback? onDrawerChanged(
- BuildContext context
- Widget? endDrawer(
- BuildContext context
- DrawerCallback? onEndDrawerChanged(
- BuildContext context
- Widget? bottomSheet(
- BuildContext context
- 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,
Many are Scaffold widget options.
Implementation
WebPageControllerWrapper({
List<Widget>? Function(BuildContext context)? persistentFooterButtons,
Widget? Function(BuildContext context)? drawer,
DrawerCallback? Function(BuildContext context)? onDrawerChanged,
Widget? Function(BuildContext context)? endDrawer,
DrawerCallback? Function(BuildContext context)? onEndDrawerChanged,
Widget? Function(BuildContext context)? bottomNavigationBar,
Widget? Function(BuildContext context)? bottomSheet,
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,
}) : 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,
) {
_persistentFooterButtons = persistentFooterButtons;
_drawer = drawer;
_onDrawerChanged = onDrawerChanged;
_endDrawer = endDrawer;
_onEndDrawerChanged = onEndDrawerChanged;
_bottomNavigationBar = bottomNavigationBar;
_bottomSheet = bottomSheet;
}