onModelChange method

  1. @override
dynamic onModelChange(
  1. WidgetModel model, {
  2. String? property,
  3. dynamic value,
})

Callback function for when the model changes, used to force a rebuild with setState()

Implementation

@override
onModelChange(WidgetModel model, {String? property, dynamic value}) {
  var b = Binding.fromString(property);
  if (b?.property == 'busy') return;
  super.onModelChange(model);
}