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
),
CodePudding user response:
change type TextInputType.number at TextInputType.phone
TextFormField(
controller: phoneNumberController,
keyboardType: TextInputType.phone, // Fix to include plus symbol
),