onModelChange method

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

Callback to fire the _TooltipViewState.build when the TooltipModel changes

Implementation

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