headerView method
Implementation
AppBar headerView(
{required String title,
Color backgroundColor = white,
Color textColor = neutral_500,
List<Widget>? actions,
Widget? leading,
TabBar? tabBar,
double elevation = 0.5,
bool isShowBack = true}) {
return AppBar(
iconTheme: IconThemeData(
color: textColor, //change your color here
),
elevation: elevation,
bottom: tabBar,
backgroundColor: backgroundColor,
centerTitle: true,
automaticallyImplyLeading: isShowBack,
actions: actions,
leading: leading,
title: Text(
title.tr,
textAlign: TextAlign.center,
style: boldStyle.copyWith(fontSize: fontSize16, color: textColor),
),
);
}