textInputType property
TextInputType?
get
textInputType
Specifies the type of keyboard input for text fields.
Example:
@override
TextInputType? get textInputType => TextInputType.number;; // Number example
This property determines the type of keyboard that will be displayed on the screen when the user focuses on a text field, such as numeric, email address, phone number, or regular text input.
Implementation
TextInputType? get textInputType => null;