BuilderPageController constructor
BuilderPageController({
- required WidgetBuilder inBuilder,
- void initStateFunc()?,
- void disposeFunc()?,
- 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<
StatefulWidget> ? state, - bool? popup,
Supply a WidgetBuilder instead of a child widget init and dispose function.
Implementation
BuilderPageController({
required this.inBuilder,
this.initStateFunc,
this.disposeFunc,
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,
this.popup,
}) : 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,
);