BrnButtonConfig class
按钮基础配置
- Inheritance
-
- Object
- BrnBaseConfig
- BrnButtonConfig
Constructors
- BrnButtonConfig({double? bigButtonRadius, double? bigButtonHeight, double? bigButtonFontSize, double? smallButtonRadius, double? smallButtonHeight, double? smallButtonFontSize, String configId = GLOBAL_CONFIG_ID})
- 遵循外部主题配置 默认为 BrnDefaultConfigUtils.defaultButtonConfig
Properties
- bigButtonFontSize → double
-
no setter
- bigButtonHeight → double
-
no setter
- bigButtonRadius → double
-
no setter
- commonConfig → BrnCommonConfig
-
no setterinherited
- configId → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smallButtonFontSize → double
-
no setter
- smallButtonHeight → double
-
no setter
- smallButtonRadius → double
-
no setter
Methods
-
copyWith(
{double? bigButtonRadius, double? bigButtonHeight, double? bigButtonFontSize, double? smallButtonRadius, double? smallButtonHeight, double? smallButtonFontSize}) → BrnButtonConfig -
initThemeConfig(
String configId, {BrnCommonConfig? currentLevelCommonConfig}) → void -
部分代码示意如下:
override
-
initThemeConfigPersonal(
) → void -
当自定义组件的配置时调用
根据自定义时传入的 configId 对配置字段打平
inherited
-
merge(
BrnButtonConfig? other) → BrnButtonConfig -
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