Comments (9)
I solved the problem.
Just put it in the Theme and don't specify any colors,like this:
child: Theme( data: ThemeData( // ), child: CountryCodePicker( onChanged: (country) { print(country.dialCode); countryCode = country.dialCode; }, textStyle: TextStyle( fontSize: 16.0 ), // Initial selection and favorite can be one of code ('IT') OR dial_code('+39') initialSelection: 'CN', favorite: ['+86', 'china'], ), ),
I don't know why, but itβs working well.
from countrycodepicker.
You want to change the color as the screenshot?
from countrycodepicker.
Not,the screenshot is current color,I want it to be white
from countrycodepicker.
Ah ok. I'll fix that asap. It should be white π
from countrycodepicker.
Well, I see it white :/
from countrycodepicker.
May I close it? @disburden
from countrycodepicker.
I have been busy recently. Sorry for not replying in time.
But what I see here is still blue? I have upgraded to version 1.0.2.
I think you should pick the color from the Theme. Can you tell me which one?
from countrycodepicker.
Thank you @disburden I'll fix that as soon as possible.
from countrycodepicker.
This should be the fix :)
data: ThemeData(dialogTheme: DialogTheme(backgroundColor: Colors.white)
from countrycodepicker.
Related Issues (20)
- Storing typical phone number lengths HOT 1
- Facing issue, while publishing app :--- You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the 'android:exported' property set. This file can't be installed on Android 12 or higher. See: developer.android.com/about/versions/12/behavior-changes-12#exported
- Unable to display country flags, codes and Country names data instead of the default ones
- Why are dialCode & countryCOde nullable strings?
- CountryCodePicker builder method
- First time US is chosen we see the Canadian flag HOT 1
- Go to score 130/130 with a simple line fix
- Favorite property
- getting bool instead of CountryCode
- Allow to pass 'useRootNavigator'
- "KR": I think "South Korea" is incorrect.
- Error: Couldn't find constructor 'VelocityTracker' HOT 1
- Add Multiple Country Selection
- Padding Issue between flag and country code
- Flickering after localizationOverride (PageView)
- add textStyle for No country found
- Country code is same then country flag is change automatically after profile updating
- Is this package compatible with version 3? HOT 2
- Exclude countries HOT 1
- Is the repo dead? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from countrycodepicker.