How to create number input field in Flutter?

asked8 years ago
last updated3 years ago
viewed415.2k times
Up Vote375Down Vote

I'm unable to find a way to create an input field in Flutter that would open up a numeric keyboard and should take numeric input only. Is this possible with Flutter material widgets? Some GitHub discussions seem to indicate this is a supported feature but I'm unable to find any documentation about it.