AppBarConfig.dark constructor
AppBarConfig.dark({})
Implementation
AppBarConfig.dark({
double? appBarHeight,
int? titleMaxLength,
double? leftAndRightPadding,
double? itemSpacing,
EdgeInsets? titlePadding,
double? iconSize,
String configId = GLOBAL_CONFIG_ID,
}) : _appBarHeight = appBarHeight,
_titleMaxLength = titleMaxLength,
_leftAndRightPadding = leftAndRightPadding,
_itemSpacing = itemSpacing,
_titlePadding = titlePadding,
_iconSize = iconSize,
super(configId: configId) {
_backgroundColor = const Color(0xff2E313B);
_leadIconBuilder = () => Image.asset(
NavBar.iconBackWhite,
package: 'phoenix_navbar',
width: phoenix.AppBarTheme.iconSize,
height: phoenix.AppBarTheme.iconSize,
fit: BoxFit.fitHeight,
);
_titleStyle = BaseTextStyle(
fontSize: phoenix.AppBarTheme.titleFontSize,
fontWeight: FontWeight.w600,
color: phoenix.AppBarTheme.darkTextColor,
);
_actionsStyle = BaseTextStyle(
color: phoenix.AppBarTheme.darkTextColor,
fontSize: phoenix.AppBarTheme.actionFontSize,
fontWeight: FontWeight.w600,
);
_systemOverlayStyle = SystemUiOverlayStyle.light;
}