ChoiceItem class
单选与多选 title 文字 titleTextStyle 文字样式 onPressed 无效 isSelected 是否选中 leftIcon 左侧图标
- Inheritance
-
- Object
- ActionItem
- ChoiceItem
- Annotations
Constructors
- ChoiceItem({required String title, TextStyle? titleTextStyle, bool isSelected = false, Widget? leftIcon})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSelected → bool
-
final
- leftIcon → Widget?
-
final
- onPressed → VoidCallback?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
finalinherited
- titleTextStyle → TextStyle?
-
finalinherited
Methods
-
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