currentStateValue property

  1. @override
bool get currentStateValue

Callback to query the widget's state for the value to be assigned to currentState

Implementation

@override
bool get currentStateValue => _getIsToggled(_selectionStyle.attributes);