SafaehOption<T> class

One card in showSafaehPicker.

Card rows use a required icon and subtitle. List-row pickers use SafaehTileOption instead (leading widget + optional subtitle).

Constructors

SafaehOption({required T value, required String label, required String subtitle, required IconData icon, String? badge, bool enabled = true})
const

Properties

badge → String?
final
enabled → bool
final
hashCode → int
The hash code for this object.
no setterinherited
icon → IconData
final
label → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subtitle → String
final
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