onAnimationCompleted property

  1. @override
VoidCallback? onAnimationCompleted
final

Called when the widget pointer animation is completed.

Defaults to null.

This snippet shows how to use this onAnimationCompleted callback.

SfLinearGauge(
 markerPointers:[
 LinearWidgetPointer(
  onAnimationCompleted: ()=> {
    printf("Widget Pointer animation is completed");
  },
 )]);

Implementation

@override
final VoidCallback? onAnimationCompleted;