AntdDropdownStyle class

样式 @l AntdDropdown

Inheritance
Available extensions

Constructors

AntdDropdownStyle.new({bool inherit = true, Color maskColor = const Color(0xff000000), double maskOpacity = 0.5, AntdBoxStyle? bodyStyle, AntdFlexStyle? childRowStyle, AntdBoxStyle? childStyle, AntdBoxStyle? itemStyle, AntdBoxStyle? extraStyle, AntdIconStyle? iconStyle, Widget? icon, AntdIconStyle? activeIconStyle, Widget? activeIcon, AntdDropdownAnimation? animation})
const

Properties

activeIcon Widget?
激活后的图标
final
activeIconStyle AntdIconStyle?
图标样式
final
animation AntdDropdownAnimation?
动画
final
bodyStyle AntdBoxStyle?
下拉菜单主体容器的样式配置 用于设置下拉菜单整体的背景色、边框、圆角、阴影等样式
final
childRowStyle AntdFlexStyle?
触发元素横向布局的样式配置 当触发元素需要横向排列时,用于设置Flex布局的样式
final
childStyle AntdBoxStyle?
触发元素容器的样式配置 用于设置触发按钮或元素的包装容器样式
final
extraStyle AntdBoxStyle?
下拉菜单内容项下方的样式配置 用于设置下拉菜单内部选项列表的容器样式
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
默认的图标
final
iconStyle AntdIconStyle?
图标样式
final
inherit bool
是否继承样式,如果为false则不会向上合并其他的样式
finalinherited
itemStyle AntdBoxStyle?
下拉菜单内容项的样式配置 用于设置下拉菜单内部选项列表的容器样式
final
maskColor Color
背景色
finalinherited
maskOpacity double
透明度
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyFrom(covariant AntdDropdownStyle? style) AntdDropdownStyle
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