MyScaffold.center constructor
const
MyScaffold.center({
- Key? kye,
- required String? title,
- ChildBuild<
Widget> ? appBar, - required ChildBuild<
Widget> body, - 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.center({
Key? kye,
required this.title,
this.appBar,
required this.body,
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 = false,
this.backgroundWidget = null,
super(key: kye);