isToggled property

bool? isToggled
final

Optional toggle state reported to assistive technology (VoiceOver, TalkBack).

When null (the default), the button omits toggled semantics. When true or false (for example in GlassToggle.button), the button exposes toggle semantics (Semantics.toggled) on its single accessibility node.

Implementation

final bool? isToggled;