KatRadioOption<T> class

A single choice offered by katChooseOptionPopup, pairing the value it resolves to with the label shown next to its radio button.

Constructors

KatRadioOption({required T value, required String label, double? width})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
label String
Text shown next to the radio button.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
The value katChooseOptionPopup resolves to when this option is accepted.
final
width double?
Forwarded to the underlying KatRadio's width; leave null to let it size naturally.
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