onIndexChanged method

void onIndexChanged(
  1. int index
)

Implementation

void onIndexChanged(int index) {
  _onIndexChangedCallback?.call(index);
}