SelectOption class final

An option in a selection dialog, with a primary label and an optional description shown when the option is hovered.

Constructors

SelectOption(String label, {String? description})
const

Properties

description → String?
Additional description text displayed below label when this option is hovered.
final
hashCode → int
The hash code for this object.
no setterinherited
label → String
The main text displayed for this option.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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