AppBarConfig constructor

AppBarConfig({
  1. Color? backgroundColor,
  2. double? appBarHeight,
  3. WidgetBuilder? leadIconBuilder,
  4. BaseTextStyle? titleStyle,
  5. BaseTextStyle? actionsStyle,
  6. int? titleMaxLength,
  7. double? leftAndRightPadding,
  8. double? itemSpacing,
  9. EdgeInsets? titlePadding,
  10. double? iconSize,
  11. SystemUiOverlayStyle? systemUiOverlayStyle,
  12. bool? showDefaultBottom,
  13. 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);