CustomScaffold constructor
const
CustomScaffold({
- Key? key,
- Color? backgroundColor = whiteColor,
- required Widget body,
- PreferredSize? appBar,
- bool? resizeToAvoidBottomPadding,
- Widget? floatingButton,
- required GlobalKey<
ScaffoldState> scaffoldKey, - Future<
bool> onWillPop()?, - Widget? progressIndicator = const LoaderFadingCube(color: blueColor, size: 25.0),
- bool? isLoading = false,
- 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);