MyoroRadioConfiguration class
Configuration of MyoroRadio.
- Annotations
-
- @immutable
- @myoroModel
Constructors
- MyoroRadioConfiguration.new({MyoroRadioController? controller, bool? initialValue, String label = labelDefaultValue, MyoroRadioOnChanged? onChanged})
-
const
- MyoroRadioConfiguration.fake({bool? controllerProvided})
-
factory
Properties
- controller → MyoroRadioController?
-
ValueNotifier to manage state externally.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialValue → bool?
-
Value of the radio.
final
- label → String
-
Label to the right of the radio.
final
- onChanged → MyoroRadioOnChanged?
-
Function executed when the MyoroRadio is clicked.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- self → MyoroRadioConfiguration
-
no setterinherited
Methods
-
copyWith(
{MyoroRadioController? controller, bool controllerProvided = true, bool? initialValue, bool initialValueProvided = true, String? label, MyoroRadioOnChanged? onChanged, bool onChangedProvided = true}) → MyoroRadioConfiguration -
inherited
-
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
Constants
- labelDefaultValue → const String