MyScaffold.immerse constructor

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