TitleBar constructor

const TitleBar({
  1. Key? key,
  2. VoidCallback? onLeftClick,
  3. VoidCallback? onRightClick,
  4. bool hasDivider = true,
  5. bool leftTitle = false,
  6. bool boldTitle = false,
  7. double? titleSize,
  8. Color? titleColor,
  9. Color? bgColor,
  10. String title = "",
  11. Widget? titleWidget,
  12. Widget? leftWidget,
  13. Widget? rightWidget,
  14. String? rightImage,
  15. double? height,
})

Implementation

const TitleBar({
  super.key,
  this.onLeftClick,
  this.onRightClick,
  this.hasDivider = true,
  this.leftTitle = false,
  this.boldTitle = false,
  this.titleSize,
  this.titleColor,
  this.bgColor,
  this.title = "",
  this.titleWidget,
  this.leftWidget,
  this.rightWidget,
  this.rightImage,
  this.height,
});