RadioGroupRegistry<T> class abstract

An abstract interface for registering a group of radios.

Use registerClient or unregisterClient to handle registrations of radios.

The registry manages the group value for the radios. The radio needs to call onChanged to notify the group value needs to be changed.

Constructors

RadioGroupRegistry.new()

Properties

groupValue → T?
The group value for the group.
no setter
hashCode int
The hash code for this object.
no setterinherited
onChanged ValueChanged<T?>
Notifies the registry that the a radio is selected or unselected.
no setter
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
registerClient(RadioClient<T> radio) → void
Registers a radio client.
toString() String
A string representation of this object.
inherited
unregisterClient(RadioClient<T> radio) → void
Unregisters a radio client.

Operators

operator ==(Object other) bool
The equality operator.
inherited