onDotTapped property
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;