CustomAppBar constructor

CustomAppBar({
  1. Key? key,
  2. Color? bgColor,
  3. Color? notiColor,
  4. Color? titleColor,
  5. String? titleText,
  6. List<Widget>? actions,
  7. dynamic onSettingPressed()?,
  8. Widget? leading,
  9. PreferredSizeWidget? bottom,
  10. Widget? title,
  11. FontWeight? titleFontWeight,
  12. dynamic onPressed()?,
  13. double? leadingWidth,
  14. double? titleFontSize,
  15. Widget? subTitleWidget,
  16. bool showBottomBorder = true,
  17. bool centerTitle = false,
  18. bool bottomCurve = false,
  19. bool isBackIcon = true,
  20. bool isNotificationIcon = false,
  21. bool isSetting = true,
  22. double? toolbarHeight = 65,
  23. Widget? leadingIcon,
})

Implementation

CustomAppBar({
  super.key,
  this.bgColor,
  this.notiColor,
  this.titleColor,
  this.titleText,
  this.actions,
  this.onSettingPressed,
  this.leading,
  this.bottom,
  this.title,
  this.titleFontWeight,
  this.onPressed,
  this.leadingWidth,
  this.titleFontSize,
  this.subTitleWidget,
  this.showBottomBorder = true,
  this.centerTitle = false,
  this.bottomCurve = false,
  this.isBackIcon = true,
  this.isNotificationIcon = false,
  this.isSetting = true,
  this.toolbarHeight = 65,
  this.leadingIcon,
});