prof22 / country_state_city_picker

A flutter package for showing a country, states, and cities. In addition it gives the possibility to select a list of favorites countries.
BSD 3-Clause "New" or "Revised" License
21 stars 47 forks source link

Font error #12

Open Cbrow01k opened 3 years ago

Cbrow01k commented 3 years ago

I am getting the following errors when the country, state and city loads: Could not find a set of Noto fonts to display all missing characters. Please add a font asset for the missing characters. See: https://flutter.dev/docs/cookbook/design/fonts

prof22 commented 3 years ago

The package gives you the ability to customize the font because style attributes has been added to the package for you to have flexibility.. Thanks..

Cbrow01k commented 3 years ago

I have never added fonts to my apps. Do you have an example or steps on how to do this? Do you have any fonts for those contry code?

Thank you, Cameron Browne.

On Sun, Apr 4, 2021, 6:08 AM Okoh Emmanuel @.***> wrote:

The package gives you the ability to customize the font because style attributes has been added to the package for you to have flexibility.. Thanks..

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prof22/country_state_city_picker/issues/12#issuecomment-813007199, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGWOREMPAGMNGU4CAVSHFG3THA3B3ANCNFSM4Z2CHHLQ .

leonardobahar commented 3 years ago

I have never added fonts to my apps. Do you have an example or steps on how to do this? Do you have any fonts for those contry code? Thank you, Cameron Browne. On Sun, Apr 4, 2021, 6:08 AM Okoh Emmanuel @.***> wrote: The package gives you the ability to customize the font because style attributes has been added to the package for you to have flexibility.. Thanks.. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#12 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGWOREMPAGMNGU4CAVSHFG3THA3B3ANCNFSM4Z2CHHLQ .

Hi, you can simply add font to your project by first downloading the font in .ttf or .otf format which is the format being supported by Flutter. Then, you'll need to drop the font file in /lib/asset directory of your project. Last I've attached a screenshot of the pubspec.yaml (usually underneath the asset declaration) where you can declare your font file. The format should be already given by the project boilerplate when you start a Flutter project in your pubspec.yaml. flutter_font

Cbrow01k commented 3 years ago

Thank you, I am actually removing the country code.

Thank you, Cameron Browne.

On Tue, May 18, 2021, 12:52 PM Leonardo Theoson Bahar < @.***> wrote:

I have never added fonts to my apps. Do you have an example or steps on how to do this? Do you have any fonts for those contry code? Thank you, Cameron Browne. … <#m-9058150821797958313> On Sun, Apr 4, 2021, 6:08 AM Okoh Emmanuel @.***> wrote: The package gives you the ability to customize the font because style attributes has been added to the package for you to have flexibility.. Thanks.. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#12 (comment) https://github.com/prof22/country_state_city_picker/issues/12#issuecomment-813007199>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGWOREMPAGMNGU4CAVSHFG3THA3B3ANCNFSM4Z2CHHLQ .

Hi, you can simply add font to your project by first downloading the font in .ttf or .otf format which is the format being supported by Flutter. Then, you'll need to drop the font file in /lib/asset directory of your project. Last I've attached a screenshot of the pubspec.yaml (usually underneath the asset declaration) where you can declare your font file. The format should be already given by the project boilerplate when you start a Flutter project in your pubspec.yaml. [image: flutter_font] https://user-images.githubusercontent.com/33883361/118692243-06fd3600-b834-11eb-9954-e3d47d485b05.PNG

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prof22/country_state_city_picker/issues/12#issuecomment-843356478, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGWOREI5RS7FHCQCWAN2UL3TOKLOTANCNFSM4Z2CHHLQ .