AntdSegmentedStyle class
样式 @l AntdSegmented
- Inheritance
- Available extensions
Constructors
- AntdSegmentedStyle.new({bool inherit = true, AntdBoxStyle? bodyStyle, AntdFlexStyle? bodyRowStyle, AntdBoxStyle? itemStyle, AntdBoxStyle? activeItemStyle})
-
const
Properties
- activeItemStyle → AntdBoxStyle?
-
当前选中的分段项的活动状态样式配置
final
- bodyRowStyle → AntdFlexStyle?
-
分段控制器内部横向排列的Flex布局样式配置
final
- bodyStyle → AntdBoxStyle?
-
分段控制器整体容器的样式配置
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inherit → bool
-
是否继承样式,如果为false则不会向上合并其他的样式
finalinherited
- itemStyle → AntdBoxStyle?
-
单个分段项的默认样式配置
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyFrom(
covariant AntdSegmentedStyle? style) → AntdSegmentedStyle -
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