PickerConfig constructor
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
Implementation
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,
}) : _backgroundColor = backgroundColor,
_cancelTextStyle = cancelTextStyle,
_confirmTextStyle = confirmTextStyle,
_titleTextStyle = titleTextStyle,
_pickerHeight = pickerHeight,
_titleHeight = titleHeight,
_itemHeight = itemHeight,
_itemTextStyle = itemTextStyle,
_itemTextSelectedStyle = itemTextSelectedStyle,
_dividerColor = dividerColor,
_cornerRadius = cornerRadius,
super(configId: configId);