BasePage constructor
const
BasePage({
- Key? key,
- required Widget child,
- String? lightBackgroundAsset,
- String? darkBackgroundAsset,
- PreferredSizeWidget? appBar,
- Widget? floatingActionButton,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- Widget? bottomSheet,
- Widget? drawer,
- Widget? endDrawer,
- Color? backgroundColor,
- bool? resizeToAvoidBottomInset,
- bool extendBody = false,
- bool extendBodyBehindAppBar = false,
- bool useSafeArea = true,
- EdgeInsetsGeometry? contentPadding,
- bool fillChildMaxHeight = false,
- bool disableScroll = false,
- ScrollController? scrollController,
- ScrollPhysics? scrollPhysics,
- bool enableAutoScrollPhysics = true,
- bool canPop = true,
- FutureOr<
bool> onWillPop()?, - EasyRefreshConfig? easyRefreshConfig,
Implementation
const BasePage({
super.key,
required this.child,
this.lightBackgroundAsset,
this.darkBackgroundAsset,
this.appBar,
this.floatingActionButton,
this.floatingActionButtonLocation,
this.bottomNavigationBar,
this.bottomSheet,
this.drawer,
this.endDrawer,
this.backgroundColor,
this.resizeToAvoidBottomInset,
this.extendBody = false,
this.extendBodyBehindAppBar = false,
this.useSafeArea = true,
this.contentPadding,
this.fillChildMaxHeight = false,
this.disableScroll = false,
this.scrollController,
this.scrollPhysics,
this.enableAutoScrollPhysics = true,
this.canPop = true,
this.onWillPop,
this.easyRefreshConfig,
});