onModelChange method

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

Callback to fire the _AnimationViewState.build when the AnimationModel changes

Implementation

@override
onModelChange(WidgetModel model, {String? property, dynamic value}) {
  if (mounted) setState(() {});
}