IsaiasSantana / keyboard_utils

A Flutter plugin to check keyboard visibility.
MIT License
49 stars 49 forks source link

Saber qual tipo de teclado está aberto? #37

Open marcglasberg opened 3 years ago

marcglasberg commented 3 years ago

Seria possível saber qual o tipo de teclado que está aberto? Por exemplo, se o teclado aberto é o teclado numérico, ou o teclado qwerty comum? No builder poderia ter mais um parâmetro:

enum KeyboardType {numerical, qwerty, other}

class KeyboardOptions {
  KeyboardOptions({required this.isKeyboardOpen, required this.keyboardHeight});

  final bool isKeyboardOpen;
  final double keyboardHeight;
  final KeyboardType keyboardType;
...
IsaiasSantana commented 3 years ago

@marcglasberg Me parece uma boa feature. Irei ver sim se é possível e depois comento aqui novamente.