value property

bool value
final

Referring to both Switch.value and CupertinoSwitch.value, holding the current state of the switch widget.

Implementation

final bool value;