FormSwitchBoxStateActions class

Provides state management actions for NyFormSwitchBox widgets.

This class extends FormStateActions to provide switch-specific state operations such as clearing the switch (turning it off), setting values programmatically, or accessing the current on/off state. Use NyFormSwitchBox.stateActions to obtain an instance.

Inheritance

Constructors

FormSwitchBoxStateActions(String state)
Creates a FormSwitchBoxStateActions instance for the specified state.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String
getter/setter pairinherited

Methods

clear() → void
Clear the field value
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setValue(dynamic value) → void
Set the field value
inherited
toString() String
A string representation of this object.
inherited

Operators

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