CustomAppBar constructor

CustomAppBar({
  1. Key? key,
  2. Widget? leading,
  3. bool? automaticallyImplyLeading,
  4. Widget? title,
  5. List<Widget>? actions,
  6. Widget? flexibleSpace,
  7. PreferredSizeWidget? bottom,
  8. double? elevation,
  9. Color? shadowColor,
  10. ShapeBorder? shape,
  11. Color? backgroundColor,
  12. Color? foregroundColor,
  13. Brightness? brightness,
  14. IconThemeData? iconTheme,
  15. IconThemeData? actionsIconTheme,
  16. TextTheme? textTheme,
  17. bool? primary,
  18. bool? centerTitle,
  19. bool? excludeHeaderSemantics,
  20. double? titleSpacing,
  21. double? toolbarOpacity,
  22. double? bottomOpacity,
  23. double? toolbarHeight,
  24. double? leadingWidth,
  25. bool? backwardsCompatibility,
  26. TextStyle? toolbarTextStyle,
  27. TextStyle? titleTextStyle,
})

Implementation

CustomAppBar({
  Key? key,
  this.leading,
  this.automaticallyImplyLeading,
  this.title,
  this.actions,
  this.flexibleSpace,
  this.bottom,
  this.elevation,
  this.shadowColor,
  this.shape,
  this.backgroundColor,
  this.foregroundColor,
  this.brightness,
  this.iconTheme,
  this.actionsIconTheme,
  this.textTheme,
  this.primary,
  this.centerTitle,
  this.excludeHeaderSemantics,
  this.titleSpacing,
  this.toolbarOpacity,
  this.bottomOpacity,
  this.toolbarHeight,
  this.leadingWidth,
  this.backwardsCompatibility,
  this.toolbarTextStyle,
  this.titleTextStyle,
}) : super(key: key);