BaseScaffold<T extends ExritedWidget> constructor

BaseScaffold<T extends ExritedWidget>({
  1. Key? key,
  2. PreferredSizeWidget? appBar,
  3. required Widget body,
  4. Widget? floatingActionButton,
  5. FloatingActionButtonLocation? floatingActionButtonLocation,
  6. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  7. List<Widget>? persistentFooterButtons,
  8. Widget? drawer,
  9. Widget? endDrawer,
  10. Widget? bottomNavigationBar,
  11. Widget? bottomSheet,
  12. Color? backgroundColor,
  13. bool? resizeToAvoidBottomInset,
  14. bool primary = true,
  15. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  16. bool extendBody = false,
  17. Color? drawerScrimColor,
  18. double? drawerEdgeDragWidth,
  19. ShowFunction? showFunction,
})

Implementation

BaseScaffold({
  Key? key,
  PreferredSizeWidget? appBar,
  required Widget body,
  Widget? floatingActionButton,
  FloatingActionButtonLocation? floatingActionButtonLocation,
  FloatingActionButtonAnimator? floatingActionButtonAnimator,
  List<Widget>? persistentFooterButtons,
  Widget? drawer,
  Widget? endDrawer,
  Widget? bottomNavigationBar,
  Widget? bottomSheet,
  Color? backgroundColor,
  bool? resizeToAvoidBottomInset,
  bool primary = true,
  DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  bool extendBody = false,
  Color? drawerScrimColor,
  double? drawerEdgeDragWidth,
  ShowFunction? showFunction,
}) : super(
        key: key,
        appBar: appBar,
        body: ExceptionWidget<T>(child: body, showFunction: showFunction),
        floatingActionButton: floatingActionButton,
        floatingActionButtonLocation: floatingActionButtonLocation,
        floatingActionButtonAnimator: floatingActionButtonAnimator,
        persistentFooterButtons: persistentFooterButtons,
        drawer: drawer,
        endDrawer: endDrawer,
        bottomNavigationBar: bottomNavigationBar,
        bottomSheet: bottomSheet,
        backgroundColor: backgroundColor,
        resizeToAvoidBottomInset: resizeToAvoidBottomInset,
        primary: primary,
        drawerDragStartBehavior: drawerDragStartBehavior,
        extendBody: extendBody,
        drawerScrimColor: drawerScrimColor,
        drawerEdgeDragWidth: drawerEdgeDragWidth,
      );