onChanged property
Called when a line in the checklist is added, removed, toggled or its text is changed with the new list of lines.
The list is a copy, that the checklist doesn't change afterwards.
Implementation
final void Function(List<ChecklistLine>) onChanged;