RadioOption<T> class

A pair of value and optional label for a single radio.

Label is optional since some people may want to implement more complex radios and having single widget is quite limiting. value or extending class propeperties should be used to provide more information.

Constructors

RadioOption(T value, Widget? label)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
label Widget?
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