'TextInputType.number incorrectly shows sign decimal buttons

According to the docs, TextInputType.number should show a keyboard without sign and decimal buttons, like this:

enter image description here

But when I call

TextField(
  :
  keyboardType: TextInputType.number,

I get the keyboard:

enter image description here

I tried below with the same results

TextField(
  :
  keyboardType: TextInputType.numberWithOptions(signed: false, decimal: false),


Solution 1:[1]

Lots of search I have found one package for that Try to use keyboard_actions package, hope its helpful to you.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ravindra S. Patil