Signature for when a tap has occurred. Return true when selection should be updated, or false to ignore tap.
typedef DiveListTapCallback = bool Function(int currentIndex, int newIndex);