getIndex property
Called when the user taps on the text input field and it returns the index value you passed in the widget.
The pupose of this function 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 :
UdBasicTextInputField(
index: 1,
getIndex: (index) {
print(index);
},
)
Implementation
final ValueChanged<int?>? getIndex;