BuilderPageController constructor

BuilderPageController({
  1. required WidgetBuilder inBuilder,
  2. void initStateFunc()?,
  3. void disposeFunc()?,
  4. PreferredSizeWidget? appBar,
  5. Color? backgroundColor,
  6. bool? resizeToAvoidBottomInset,
  7. bool? primary,
  8. DragStartBehavior? drawerDragStartBehavior,
  9. bool? extendBody,
  10. bool? extendBodyBehindAppBar,
  11. Color? drawerScrimColor,
  12. double? drawerEdgeDragWidth,
  13. bool? drawerEnableOpenDragGesture,
  14. bool? endDrawerEnableOpenDragGesture,
  15. String? restorationId,
  16. ScrollPhysics? physics,
  17. State<StatefulWidget>? state,
  18. 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,
      );