onPressed property

void Function(int index)? onPressed
final

Implementation

final void Function(int index)? onPressed;