onScopeChanged property

(void Function(bool pushed)?) onScopeChanged
getter/setter pair

Optional call-back that will get call whenever a change in the current scope happens This can be very helpful to update the UI in such a case to make sure it uses the correct Objects after a scope change The getit_mixin has a matching rebuiltOnScopeChange method

Implementation

void Function(bool pushed)? onScopeChanged;