BrnAppBarConfig class

Appbar主题配置

Inheritance

Constructors

BrnAppBarConfig({Color? backgroundColor, double? appBarHeight, BrnWidgetBuilder? leadIconBuilder, BrnTextStyle? titleStyle, BrnTextStyle? actionsStyle, int? titleMaxLength, double? leftAndRightPadding, double? itemSpacing, EdgeInsets? titlePadding, double? iconSize, SystemUiOverlayStyle? systemUiOverlayStyle, bool? showDefaultBottom, String configId = GLOBAL_CONFIG_ID})
BrnAppBar 主题配置,遵循外部主题配置 默认为 BrnDefaultConfigUtils.defaultAppBarConfig
BrnAppBarConfig.dark({double? appBarHeight, int? titleMaxLength, double? leftAndRightPadding, double? itemSpacing, EdgeInsets? titlePadding, double? iconSize, String configId = GLOBAL_CONFIG_ID})
BrnAppBarConfig.light({double? appBarHeight, int? titleMaxLength, double? leftAndRightPadding, double? itemSpacing, EdgeInsets? titlePadding, double? iconSize, String configId = GLOBAL_CONFIG_ID})

Properties

actionsStyle BrnTextStyle
no setter
appBarHeight double
no setter
backgroundColor Color
no setter
commonConfig BrnCommonConfig
no setterinherited
configId String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
iconSize double
no setter
itemSpacing double
no setter
leadIconBuilder BrnWidgetBuilder
no setter
leftAndRightPadding double
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showDefaultBottom bool
no setter
systemOverlayStyle SystemUiOverlayStyle
no setter
titleMaxLength int
no setter
titlePadding EdgeInsets
no setter
titleStyle BrnTextStyle
no setter

Methods

copyWith({Color? backgroundColor, double? appBarHeight, BrnWidgetBuilder? leadIconBuilder, BrnTextStyle? titleStyle, BrnTextStyle? actionsStyle, int? titleMaxLength, double? leftAndRightPadding, double? itemSpacing, EdgeInsets? titlePadding, double? iconSize, SystemUiOverlayStyle? systemUiOverlayStyle, bool? showDefaultBottom}) BrnAppBarConfig
initThemeConfig(String configId, {BrnCommonConfig? currentLevelCommonConfig}) → void
部分代码示意如下:
override
initThemeConfigPersonal() → void
当自定义组件的配置时调用 根据自定义时传入的 configId 对配置字段打平
inherited
merge(BrnAppBarConfig? other) BrnAppBarConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited