3
  • Is it possible to use the keyboard as a widget ?
  • here are some edited screenshots to show what i mean:

keyboard1 keyboard2

edit : i want it to stay at that place and use it to input numbers to a textfield, i don't want to move it or anything.

ViralCode
  • 189
  • 1
  • 2
  • 8
  • For number keyboards, you can easily build your own widget: https://stackoverflow.com/a/51623027/2461957 – boformer Aug 02 '18 at 17:43
  • To display the real keyboard permanently, you would have to do some heave customizations in the lower layers of Flutter. – boformer Aug 02 '18 at 17:44
  • This question doesn't describe what you want to do, other than `keyboard as widget`. Please explain what you mean by `as a widget` - do you want to be able to move it around, or customize it, or show a helper widget when it's open? – rmtmckenzie Aug 02 '18 at 20:04

1 Answers1

0

Good thing there is an existing Flutter plugins that you can use. Check the numeric_keyboard plugins. This will do exactly what you are trying to achieve.

enter image description here

If you need more customization, you can check keyboard_actions.

MαπμQμαπkγVπ.0
  • 5,887
  • 1
  • 27
  • 65