onModelChange method
Callback function for when the model changes, used to force a rebuild with setState()
Implementation
@override
onModelChange(WidgetModel model, {String? property, dynamic value}) {
try {
Binding? b = Binding.fromString(property);
if ((b?.property == 'visible') ||
(b?.property == 'height') ||
(b?.property == 'minheight') ||
(b?.property == 'maxheight')) notifyListeners(property, value);
} catch (e) {
Log().exception(e, caller: 'Framework.View');
}
}