Input({Key key, InputValue value, TextInputType keyboardType: TextInputType.text, Widget icon, String labelText, String hintText, String errorText, TextStyle style, bool hideText: false, bool hideDivider: false, bool isDense: false, bool autofocus: false, int maxLines: 1, ValueChanged<InputValue> onChanged, ValueChanged<InputValue> onSubmitted })

Creates a text input field.

By default, the input uses a keyboard appropriate for text entry.

Source

//
//  If you change this constructor signature, please also update
// InputContainer, InputFormField, InputField.
Input({
  Key key,
  this.value,
  this.keyboardType: TextInputType.text,
  this.icon,
  this.labelText,
  this.hintText,
  this.errorText,
  this.style,
  this.hideText: false,
  this.hideDivider: false,
  this.isDense: false,
  this.autofocus: false,
  this.maxLines: 1,
  this.onChanged,
  this.onSubmitted,
}) : super(key: key);