AntdCheckboxStyle class
复选框组件样式配置类 @lAntdCheckbox
- Inheritance
- Implementers
- Available extensions
Constructors
- AntdCheckboxStyle.new({bool inherit = true, AntdBoxStyle? bodyStyle, AntdBoxStyle? indeterminateStyle, AntdBoxStyle? extraStyle, AntdIconStyle? activeIconStyle, Widget? activeIcon, AntdIconStyle? iconStyle, Widget? icon, AntdIconStyle? disableIconStyle, Widget? disableIcon, AntdFlexStyle? rowStyle})
-
创建复选框样式配置
const
- AntdCheckboxStyle.defaultStyle(AntdMapToken token)
-
factory
Properties
- activeIcon → Widget?
-
选中状态下显示的图标组件
final
- activeIconStyle → AntdIconStyle?
-
选中框图标的样式配置
final
- bodyStyle → AntdBoxStyle?
-
主体样式,可以开启切换时震动反馈
final
- disableIcon → Widget?
-
禁用状态下显示的图标组件
final
- disableIconStyle → AntdIconStyle?
-
禁用图标的样式配置
final
- extraStyle → AntdBoxStyle?
-
复选框文本标签的样式
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget?
-
默认未选中状态下显示的图标组件
final
- iconStyle → AntdIconStyle?
-
默认图标的样式配置
final
- indeterminateStyle → AntdBoxStyle?
-
复选框半选状态(indeterminate)的样式
final
- inherit → bool
-
是否继承样式,如果为false则不会向上合并其他的样式
finalinherited
- rowStyle → AntdFlexStyle?
-
对齐样式
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyFrom(
covariant AntdCheckboxStyle? style) → AntdCheckboxStyle -
override
-
merge(
T? other) → T? -
Available on T?, provided by the StyleExtensions extension
-
mergeActive(
T? defaultStyle, T? tdStyle, T? tdaStyle) → T? -
Available on T?, provided by the StyleExtensions extension
-
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