onChanged property

(void Function(bool)?) onChanged
getter/setter pair

Implementation

void Function(bool)? onChanged = (bool b) {};