onDotTapped property

OnDotTapped? onDotTapped
final

Callback fired when a dot is tapped.
Note: You must update the activeDot in your StatefulWidget to tappedDotIndex provided by this callback inside a setState() method, for tapping to function flawlessly.

Implementation

final OnDotTapped? onDotTapped;