extraOnToggle property

OnToggle? extraOnToggle
getter/setter pair

In case you chain some more logic to this widget's onTap event (maybe trigger updation of other UI components). If this is used, ensure you call setState at the end of the function.

Implementation

OnToggle? extraOnToggle;