Answers for "flutter avoid taking input as only numbers"

2

flutter to allow numbers only textfield

TextField(
            keyboardType: TextInputType.number,
            inputFormatters: <TextInputFormatter>[
              FilteringTextInputFormatter.digitsOnly
            ], // Only numbers can be entered
          ),
Posted by: Guest on August-12-2021
8

input only numbers flutter

keyboardType: TextInputType.number
Posted by: Guest on July-09-2020

Code answers related to "flutter avoid taking input as only numbers"

Browse Popular Code Answers by Language