Question : How to Create Number Inputfield in Flutter?
Answered by : sore-serval-d2a40v4h8jp2
TextFormField( decoration: const InputDecoration( labelText: 'Contact No', ), keyboardType: TextInputType.number,
),
Source : https://flutter.dev/docs/cookbook/forms/text-input | Last Update : Mon, 20 Sep 21
Question : How to create number input field in Flutter?
Answered by : tough-trout-21otaxn3a9w8
You can specify the number as keyboardType for the TextField using:
keyboardType: TextInputType.number
// Learn Flutter inside VS Code at sideguide.dev/courses/flutter?ref=grepper
Source : | Last Update : Thu, 07 Jul 22