FormItemConfig constructor

FormItemConfig({
  1. Color? backgroundColor,
  2. BaseTextStyle? titleTextStyle,
  3. BaseTextStyle? subTitleTextStyle,
  4. BaseTextStyle? errorTextStyle,
  5. BaseTextStyle? hintTextStyle,
  6. BaseTextStyle? contentTextStyle,
  7. EdgeInsets? formPadding,
  8. EdgeInsets? titlePaddingSm,
  9. EdgeInsets? titlePaddingLg,
  10. EdgeInsets? optionsMiddlePadding,
  11. EdgeInsets? subTitlePadding,
  12. EdgeInsets? errorPadding,
  13. BaseTextStyle? disableTextStyle,
  14. BaseTextStyle? tipsTextStyle,
  15. BaseTextStyle? headTitleTextStyle,
  16. BaseTextStyle? optionTextStyle,
  17. BaseTextStyle? optionSelectedTextStyle,
  18. String configId = GLOBAL_CONFIG_ID,
})

遵循全局配置 默认为 BrnDefaultConfigUtils.defaultFormItemConfig

Implementation

FormItemConfig({
  Color? backgroundColor,
  BaseTextStyle? titleTextStyle,
  BaseTextStyle? subTitleTextStyle,
  BaseTextStyle? errorTextStyle,
  BaseTextStyle? hintTextStyle,
  BaseTextStyle? contentTextStyle,
  EdgeInsets? formPadding,
  EdgeInsets? titlePaddingSm,
  EdgeInsets? titlePaddingLg,
  EdgeInsets? optionsMiddlePadding,
  EdgeInsets? subTitlePadding,
  EdgeInsets? errorPadding,
  BaseTextStyle? disableTextStyle,
  BaseTextStyle? tipsTextStyle,
  BaseTextStyle? headTitleTextStyle,
  BaseTextStyle? optionTextStyle,
  BaseTextStyle? optionSelectedTextStyle,
  String configId = GLOBAL_CONFIG_ID,
})  : _backgroundColor = backgroundColor,
      _titleTextStyle = titleTextStyle,
      _subTitleTextStyle = subTitleTextStyle,
      _errorTextStyle = errorTextStyle,
      _hintTextStyle = hintTextStyle,
      _contentTextStyle = contentTextStyle,
      _formPadding = formPadding,
      _titlePaddingSm = titlePaddingSm,
      _titlePaddingLg = titlePaddingLg,
      _optionsMiddlePadding = optionsMiddlePadding,
      _subTitlePadding = subTitlePadding,
      _errorPadding = errorPadding,
      _disableTextStyle = disableTextStyle,
      _tipsTextStyle = tipsTextStyle,
      _headTitleTextStyle = headTitleTextStyle,
      _optionTextStyle = optionTextStyle,
      _optionSelectedTextStyle = optionSelectedTextStyle,
      super(configId: configId);