HcAppBar constructor
const
HcAppBar({
- Key? key,
- String? backButtonImage,
- GestureTapCallback? onTap,
- Widget? titleSuffix,
- Widget? actionWidget,
- String? actionTitle,
- bool isTitleSuffix = false,
- bool isCenter = false,
- bool isBackFunction = false,
- bool isBack = true,
- bool isDialog = false,
- bool action = false,
- double topPadding = kToolbarHeight,
- FontWeight titleFontWeight = FontWeight.normal,
- Color color = Colors.white,
- Color sColor = hcSecondColor,
- Color bgColor = hcHomeBgColor,
- required Widget child,
- 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});