TfSheetAction<T> class

操作表(showTfActionSheet)中的一个选项。

Annotations

Constructors

TfSheetAction({required String label, required T value, IconData? icon, bool isDestructive = false})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
icon → IconData?
图标(可选)。
final
isDestructive → bool
是否为危险操作(显示为警示色)。
final
label → String
选项文字。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → T
选中后返回的值。
final

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