inputType property

SemanticsInputType get inputType

The input type for of a editable widget.

This property is only used when the subtree represents a text field.

Assistive technologies use this property to provide better information to users. For example, screen reader reads out the input type of text field when focused.

Implementation

SemanticsInputType get inputType => _inputType;
set inputType (SemanticsInputType value)

Implementation

set inputType(SemanticsInputType value) {
  _inputType = value;
  _hasBeenAnnotated = true;
}