PickerConfig class

选择器配置

Inheritance
  • Object
  • BaseConfig
  • PickerConfig

Constructors

PickerConfig({Color? backgroundColor, BaseTextStyle? cancelTextStyle, BaseTextStyle? confirmTextStyle, BaseTextStyle? titleTextStyle, double? pickerHeight, double? titleHeight, double? itemHeight, BaseTextStyle? itemTextStyle, BaseTextStyle? itemTextSelectedStyle, Color? dividerColor, double? cornerRadius, String configId = GLOBAL_CONFIG_ID})
遵循外部主题配置 默认为 BasePickerConfigUtils.defaultPickerConfig

Properties

backgroundColor Color
no setter
cancelTextStyle → BaseTextStyle
no setter
commonConfig → BaseCommonConfig
no setterinherited
configId String
no setterinherited
confirmTextStyle → BaseTextStyle
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 → BaseTextStyle
no setter
itemTextStyle → BaseTextStyle
no setter
pickerHeight double
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
titleHeight double
no setter
titleTextStyle → BaseTextStyle
no setter

Methods

copyWith({Color? backgroundColor, BaseTextStyle? cancelTextStyle, BaseTextStyle? confirmTextStyle, BaseTextStyle? titleTextStyle, double? pickerHeight, double? titleHeight, double? itemHeight, BaseTextStyle? itemTextStyle, BaseTextStyle? itemTextSelectedStyle, Color? dividerColor, double? cornerRadius}) PickerConfig
initThemeConfig(String configId, {BaseCommonConfig? currentLevelCommonConfig}) → void
部分代码示意如下:
override
initThemeConfigPersonal() → void
当自定义组件的配置时调用 根据自定义时传入的 configId 对配置字段打平
inherited
merge(PickerConfig? other) PickerConfig
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