onChange callback to handle change in value of text in the input field
final Function(String)? onChange;