CRadioItem<T> class

Represents an item for a radio button.

Constructors

CRadioItem({required T value, required String label})
Creates a CRadioItem with the provided value and label.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
label String
The label text of the radio item.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
The value associated with the radio item.
final

Methods

copyWith({T? value, String? label}) CRadioItem<T>
Creates a copy of this CRadioItem with the provided values.
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