BrnPickerConfig constructor

BrnPickerConfig({
  1. Color? backgroundColor,
  2. BrnTextStyle? cancelTextStyle,
  3. BrnTextStyle? confirmTextStyle,
  4. BrnTextStyle? titleTextStyle,
  5. double? pickerHeight,
  6. double? titleHeight,
  7. double? itemHeight,
  8. BrnTextStyle? itemTextStyle,
  9. BrnTextStyle? itemTextSelectedStyle,
  10. Color? dividerColor,
  11. double? cornerRadius,
  12. String configId = GLOBAL_CONFIG_ID,
})

遵循外部主题配置 默认为 BrnDefaultConfigUtils.defaultPickerConfig

Implementation

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,
})  : _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);