How to include plus symbol to a numeric keyboard
386
change type TextInputType.number at TextInputType.phone
TextFormField(
controller: phoneNumberController,
keyboardType: TextInputType.phone, // Fix to include plus symbol
),
Author by
Shistastic
Updated on January 02, 2023Comments
-
Shistastic over 1 year
I was wondering how to implement in my application a TextFormField with a numeric keyboard that includes the plus("+") with the intention of including of facilitating the user to input international phone numbers.
TextFormField( controller: phoneNumberController, keyboardType: TextInputType.number, // Fix to include plus symbol ),
-
Alejandro Campos Palacios over 2 yearsif this answer was useful please checked like accepted
-
-
Shistastic over 2 yearsWow Thank you very much Elvis, I allways get stuck when theyres such a simple solution!