Keyboard with letters and numbers on top (in Flutter)

Viewed 1565

Is there a possibility to have the keyboard appear with numbers above the letters. Something like this:

enter image description here

and this

enter image description here

2 Answers
/// Optimize for passwords that are visible to the user.
///
/// Requests a keyboard with ready access to both letters and numbers.
static const TextInputType visiblePassword = TextInputType._(7);

The above code portion is from the text_input.dart file. Therefore try the following. It might work, not sure though:

TextField(
    keyboardType: TextInputType.visiblePassword
)

The reason that keyboard doesn't work on iOS is it doesn't exist as an available type. I used this package https://pub.dev/packages/keyboard_actions to build a text/number keyboard on iOS and it works pretty well.

keyboard image

Related