MyScaffold.center constructor

const MyScaffold.center({
  1. Key? kye,
  2. required String? title,
  3. ChildBuild<Widget>? appBar,
  4. required ChildBuild<Widget> body,
  5. ChildBuild<List<Widget>>? actions,
  6. ChildBuild<Widget>? drawer,
  7. bool drawerIsLeft = true,
  8. bool titleIsCenter = true,
  9. bool isMaterial = true,
  10. bool isShowTitle = true,
  11. SafePadding? isSafeArea,
  12. Color? bgColor,
  13. Color? titleBackgroundColor,
  14. bool isBottom = false,
  15. ChildBuild<Widget>? bottom,
  16. ChildBuild<Widget>? titleWidget,
  17. Widget? stateWidget,
  18. ChildBuild<Widget>? nextWidget,
  19. Brightness? brightness,
  20. Brightness? appBarBrightness,
  21. ThemeData? themeData,
  22. 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);