onAnimationCompleted property

  1. @override
VoidCallback? onAnimationCompleted
final

Called when the shape pointer animation is completed.

Defaults to null.

This snippet shows how to use this onAnimationCompleted callback.

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

Implementation

@override
final VoidCallback? onAnimationCompleted;