ToggleEnricher class

Reads the live value of Checkbox / Switch-shaped toggles into SemanticButton.toggleState ('on'/'off'). Radio is excluded — its value is the option, not the checked state. Capped at maxToggles.

Implemented types

Constructors

ToggleEnricher({required FlutterRuntime runtime, int maxToggles = 10})

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxToggles → int
final
runtime → FlutterRuntime
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

enrich(SemanticScene scene) → Future<void>
override
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