Home > Net >  How to show country code in the container
How to show country code in the container

Time:10-27

I'm working on phone number textfield, so for i got enter image description here

i want it like this (without icon)

enter image description here

CodePudding user response:

Try below code hope its helpful to you.refer package image

CodePudding user response:

I've just written this:

InternationalPhoneNumberInput(
            onInputChanged: (val) {},
            inputDecoration: InputDecoration(
              focusedBorder: OutlineInputBorder(
                borderSide: BorderSide(
                  width: 0.0,
                ),
              ),
              enabledBorder: InputBorder.none,
            ),
          ),

and it seems like these:

enter image description here enter image description here

But I couldn't test it on android. Can you try this?

  • Related