SelectorOption<T> class

An option for Selector

Constructors

SelectorOption({required T value, required String label, String? subtitle, Component? icon, bool disabled = false})
const

Properties

disabled → bool
final
hashCode → int
The hash code for this object.
no setterinherited
icon → Component?
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