onSelect property

void Function(int index)? onSelect
final

选中时的回调 index 选中的title的索引

Implementation

final void Function(int index)? onSelect;