AppBarConfig constructor
AppBarConfig({
- Color? backgroundColor,
- double? appBarHeight,
- WidgetBuilder? leadIconBuilder,
- BaseTextStyle? titleStyle,
- BaseTextStyle? actionsStyle,
- int? titleMaxLength,
- double? leftAndRightPadding,
- double? itemSpacing,
- EdgeInsets? titlePadding,
- double? iconSize,
- SystemUiOverlayStyle? systemUiOverlayStyle,
- bool? showDefaultBottom,
- String configId = GLOBAL_CONFIG_ID,
BrnAppBar 主题配置,遵循外部主题配置
默认为 BrnDefaultConfigUtils.defaultAppBarConfig
Implementation
AppBarConfig({
Color? backgroundColor,
double? appBarHeight,
WidgetBuilder? leadIconBuilder,
BaseTextStyle? titleStyle,
BaseTextStyle? actionsStyle,
int? titleMaxLength,
double? leftAndRightPadding,
double? itemSpacing,
EdgeInsets? titlePadding,
double? iconSize,
SystemUiOverlayStyle? systemUiOverlayStyle,
bool? showDefaultBottom,
String configId = GLOBAL_CONFIG_ID,
}) : _backgroundColor = backgroundColor,
_appBarHeight = appBarHeight,
_leadIconBuilder = leadIconBuilder,
_titleStyle = titleStyle,
_actionsStyle = actionsStyle,
_titleMaxLength = titleMaxLength,
_leftAndRightPadding = leftAndRightPadding,
_itemSpacing = itemSpacing,
_titlePadding = titlePadding,
_iconSize = iconSize,
_systemOverlayStyle = systemUiOverlayStyle,
_showDefaultBottom = showDefaultBottom,
super(configId: configId);