CustomScaffold constructor

const CustomScaffold({
  1. Key? key,
  2. Color? backgroundColor = whiteColor,
  3. required Widget body,
  4. PreferredSize? appBar,
  5. bool? resizeToAvoidBottomPadding,
  6. Widget? floatingButton,
  7. Widget? bottomNav,
  8. required GlobalKey<ScaffoldState> scaffoldKey,
  9. Future<bool> onWillPop()?,
  10. Widget? progressIndicator = const LoaderFadingCube(color: blueColor, size: 25.0),
  11. bool? isLoading = false,
  12. Widget? drawer,
})

Implementation

const CustomScaffold(
    {Key? key,
    this.backgroundColor = whiteColor,
    required this.body,
    this.appBar,
    this.resizeToAvoidBottomPadding,
    this.floatingButton,
    this.bottomNav,
    required this.scaffoldKey,
    this.onWillPop,
    this.progressIndicator =
        const LoaderFadingCube(color: blueColor, size: 25.0),
    this.isLoading = false,
    this.drawer})
    : super(key: key);