BrnPickerConfig class
选择器配置
- Inheritance
-
- Object
- BrnBaseConfig
- BrnPickerConfig
Constructors
- BrnPickerConfig({Color? backgroundColor, BrnTextStyle? cancelTextStyle, BrnTextStyle? confirmTextStyle, BrnTextStyle? titleTextStyle, double? pickerHeight, double? titleHeight, double? itemHeight, BrnTextStyle? itemTextStyle, BrnTextStyle? itemTextSelectedStyle, Color? dividerColor, double? cornerRadius, String configId = GLOBAL_CONFIG_ID})
- 遵循外部主题配置 默认为 BrnDefaultConfigUtils.defaultPickerConfig
Properties
- backgroundColor → Color
-
no setter
- cancelTextStyle → BrnTextStyle
-
no setter
- commonConfig → BrnCommonConfig
-
no setterinherited
- configId → String
-
no setterinherited
- confirmTextStyle → BrnTextStyle
-
no setter
- cornerRadius → double
-
no setter
- dividerColor → Color
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemHeight → double
-
no setter
- itemTextSelectedStyle → BrnTextStyle
-
no setter
- itemTextStyle → BrnTextStyle
-
no setter
- pickerHeight → double
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- titleHeight → double
-
no setter
- titleTextStyle → BrnTextStyle
-
no setter
Methods
-
copyWith(
{Color? backgroundColor, BrnTextStyle? cancelTextStyle, BrnTextStyle? confirmTextStyle, BrnTextStyle? titleTextStyle, double? pickerHeight, double? titleHeight, double? itemHeight, BrnTextStyle? itemTextStyle, BrnTextStyle? itemTextSelectedStyle, Color? dividerColor, double? cornerRadius}) → BrnPickerConfig -
initThemeConfig(
String configId, {BrnCommonConfig? currentLevelCommonConfig}) → void -
部分代码示意如下:
override
-
initThemeConfigPersonal(
) → void -
当自定义组件的配置时调用
根据自定义时传入的 configId 对配置字段打平
inherited
-
merge(
BrnPickerConfig? other) → BrnPickerConfig -
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