AppTitleBar constructor

const AppTitleBar({
  1. Key? key,
  2. double height = titleBarHeight,
  3. String title = "",
  4. Color titleColor = Colors.black,
  5. double titleFontSize = titleBarTitleFontSize,
  6. bool backBtnEnable = true,
  7. Color backgroundColor = Colors.transparent,
  8. Color titleBarColor = Colors.transparent,
  9. Color bottomDividerColor = Colors.transparent,
  10. Widget? rightWidget,
  11. Widget? leftWidget,
  12. Widget? centerWidget,
  13. bool? safeArea = true,
})

Implementation

const AppTitleBar(
    {Key? key,
    this.height = titleBarHeight,
    this.title = "",
    this.titleColor = Colors.black,
    this.titleFontSize = titleBarTitleFontSize,
    this.backBtnEnable = true,
    this.backgroundColor = Colors.transparent,
    this.titleBarColor = Colors.transparent,
    this.bottomDividerColor = Colors.transparent,
    this.rightWidget,
    this.leftWidget,
    this.centerWidget,
    this.safeArea = true})
    : super(key: key);