index property
Pass index number if you need it on tap using getIndex function
The pupose of index number is to help you when there are for example multi-user based text input fields and you need to know which one tapped. So, for this kind of index based situation you can use it if needed.
Code Example :
ProTextField(
index: 1,
getIndex: (index) {
print(index);
},
)
Implementation
final int? index;