MyAppBarTheme constructor

const MyAppBarTheme({
  1. Key? key,
  2. required dynamic title,
  3. Widget? titleWidget,
  4. double? elevation,
  5. bool? centerTitle,
  6. List<Widget>? actions,
  7. SystemUiOverlayStyle? systemOverlayStyle,
  8. Color? backgroundColor,
  9. Color? color,
  10. bool automaticallyImplyLeading = true,
  11. IconThemeData? iconTheme,
  12. Widget? leading,
  13. bool showLeading = true,
  14. PreferredSizeWidget? bottom,
})

Implementation

const MyAppBarTheme({
  super.key,
  required this.title,
  this.titleWidget,
  this.elevation,
  this.centerTitle,
  this.actions,
  this.systemOverlayStyle,
  this.backgroundColor,
  this.color,
  this.automaticallyImplyLeading = true,
  this.iconTheme,
  this.leading,
  this.showLeading=true,
  this.bottom,
});