FormItemConfig constructor
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,
遵循全局配置
默认为 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);