Search packages, repositories and app categories

GitHub repositorycedvdb/flutter_circle_flags

flutter_circle_flags

Circular flags for flutter

flutter_circle_flags project cover
Stars
12
Forks
47
Last push (UTC)
Oct 6, 2025
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

circle_flags

A collection of circular country flags.

Demo

to view all flags https://hatscripts.github.io/circle-flags/gallery

Usage


// use a valid country code
CircleFlag('us');
CircleFlag('fr');
CircleFlag(Flags.US);

Preloading

You might want to preload images for a smoother list scrolling experience:

CircleFlag.preload(['fr', 'us']);

Overwriting or adding custom flags

Some users have expressed their need to change some flags due to political reasons, or stylistic reasons. You might also wish to add your own flags. To do so refer to this issue: https://github.com/cedvdb/phone_form_field/issues/222

Contributing & issues

see CONTRIBUTING.md

For generating the flag.dart just run

    dart run tools/generate_flag.dart
cedvdb GitHub avatar
GitHub author

cedvdb ↗

Developer by day and developer by night. I'm passionate about architecture. Designing code bases that reflect the business domain I'm working on.

LanguagesC++DartCMakeHTMLSwiftCKotlinObjective-C

Packages published by this repository

Dependencies used

Dependency list 7 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗