HcAppBar constructor

const HcAppBar({
  1. Key? key,
  2. String? backButtonImage,
  3. GestureTapCallback? onTap,
  4. Widget? titleSuffix,
  5. Widget? actionWidget,
  6. String? actionTitle,
  7. bool isTitleSuffix = false,
  8. bool isCenter = false,
  9. bool isBackFunction = false,
  10. bool isBack = true,
  11. bool isDialog = false,
  12. bool action = false,
  13. double topPadding = kToolbarHeight,
  14. FontWeight titleFontWeight = FontWeight.normal,
  15. Color color = Colors.white,
  16. Color sColor = hcSecondColor,
  17. Color bgColor = hcHomeBgColor,
  18. required Widget child,
  19. String? title,
})

Implementation

const HcAppBar(
    {super.key,
      this.backButtonImage,
      this.onTap,
      this.titleSuffix,
      this.actionWidget,
      this.actionTitle,
      this.isTitleSuffix = false,
      this.isCenter = false,
      this.isBackFunction = false,
      this.isBack = true,
      this.isDialog = false,
      this.action = false,
      this.topPadding = kToolbarHeight,
      this.titleFontWeight = FontWeight.normal,
      this.color = Colors.white,
      this.sColor = hcSecondColor,
      this.bgColor = hcHomeBgColor,
      required this.child,
      this.title});