Flutter InputTextFieldTextField( keyboardType: TextInputType.numer | email, style: Theme.of(context).textTheme.display1, decoration: InputDecoration( labelText: "input", errorText: _showValidationError ? "Invalid Number" : null ))Copy3 Ways to retrieve the textonChanged - as soon as user types anythingonSubmitted - when user presses the enter or submit buttoncontroller - Implements a listener