onAnimationCompleted property

VoidCallback? onAnimationCompleted
final

Called when the bar pointer animation is completed.

Defaults to null.

This snippet shows how to use this onAnimationCompleted callback.

SfLinearGauge(
 barPointer:[
 LinearBarPointer(
  onAnimationCompleted: ()=> {
    printf("Bar Pointer animation is completed");
  },
 )]);

Implementation

final VoidCallback? onAnimationCompleted;