onToggle property

void Function(bool) onToggle
getter/setter pair

Implementation

void Function(bool) onToggle;