CustomAppBar constructor
CustomAppBar({
- Key? key,
- Color? bgColor,
- Color? notiColor,
- Color? titleColor,
- String? titleText,
- List<
Widget> ? actions, - dynamic onSettingPressed()?,
- Widget? leading,
- PreferredSizeWidget? bottom,
- Widget? title,
- FontWeight? titleFontWeight,
- dynamic onPressed()?,
- double? leadingWidth,
- double? titleFontSize,
- Widget? subTitleWidget,
- bool showBottomBorder = true,
- bool centerTitle = false,
- bool bottomCurve = false,
- bool isBackIcon = true,
- bool isNotificationIcon = false,
- bool isSetting = true,
- double? toolbarHeight = 65,
- 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,
});