AppLayout constructor
const
AppLayout({
- Key? key,
- AppLayoutType type = AppLayoutType.standard,
- required Widget child,
- Color? backgroundColor,
- EdgeInsetsGeometry? padding,
- bool extendBodyBehindAppBar = false,
- bool resizeToAvoidBottomInset = true,
- PreferredSizeWidget? appBar,
- Widget? floatingActionButton,
- Widget? drawer,
- Widget? endDrawer,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- ScrollPhysics? physics,
- bool centerChild = false,
- BoxConstraints? constraints,
- bool safeTop = true,
- bool safeBottom = true,
- bool safeLeft = true,
- bool safeRight = true,
Implementation
const AppLayout({
super.key,
this.type = AppLayoutType.standard,
required this.child,
this.backgroundColor,
this.padding,
this.extendBodyBehindAppBar = false,
this.resizeToAvoidBottomInset = true,
this.appBar,
this.floatingActionButton,
this.bottomNavigationBar,
this.drawer,
this.endDrawer,
this.floatingActionButtonLocation,
this.physics,
this.centerChild = false,
this.constraints,
this.safeTop = true,
this.safeBottom = true,
this.safeLeft = true,
this.safeRight = true,
});