MyScaffold.immerse constructor
const
MyScaffold.immerse({
- Key? kye,
- ChildBuild<
Widget> ? appBar, - String? title,
- required ChildBuild<
Widget> body, - ChildBuild<
Widget> ? backgroundWidget, - ChildBuild<
List< ? actions,Widget> > - ChildBuild<
Widget> ? drawer, - bool drawerIsLeft = true,
- bool titleIsCenter = true,
- bool isMaterial = true,
- bool isShowTitle = true,
- SafePadding? isSafeArea,
- Color? bgColor,
- Color? titleBackgroundColor,
- bool isBottom = false,
- ChildBuild<
Widget> ? bottom, - ChildBuild<
Widget> ? titleWidget, - Widget? stateWidget,
- ChildBuild<
Widget> ? nextWidget, - Brightness? brightness,
- Brightness? appBarBrightness,
- ThemeData? themeData,
- Color? defaultTextColor,
沉浸式
Implementation
const MyScaffold.immerse({
Key? kye,
this.appBar,
this.title,
required this.body,
this.backgroundWidget,
this.actions,
this.drawer,
this.drawerIsLeft = true,
this.titleIsCenter = true,
this.isMaterial = true,
this.isShowTitle = true,
this.isSafeArea,
this.bgColor,
this.titleBackgroundColor,
this.isBottom = false,
this.bottom,
this.titleWidget,
this.stateWidget,
this.nextWidget,
this.brightness,
this.appBarBrightness,
this.themeData,
this.defaultTextColor,
}) : this.immerse = true,
super(key: kye);