Search packages, repositories and app categories

circle_flags cover
Package detailsv7.0.0

circle_flags

A collection of roundd flags

AndroidiOSWebmacOSWindowsLinux
30-day downloads
92.3K
Likes
41
Pub points
140

Install package

flutter pub add circle_flags

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Circle Flags is a Flutter package that provides a collection of round-shaped country flags, designed for easy integration into apps. It offers a clean, consistent visual style with optimized performance across multiple platforms. The flags are delivered as scalable vector assets, ensuring crisp rendering on all device densities. Ideal for applications requiring quick country identification, such as language selectors, user profiles, or internationalization features. The package supports Android, iOS, Web, macOS, Windows, and Linux, making it highly versatile for cross-platform development.

Use cases

  • Country selection interfaces
  • User profile localization
  • International app features
  • Language picker components
  • Global analytics dashboards
  • Multi-region support

Key features

  • Round-shaped flag icons
  • Cross-platform compatibility
  • Scalable vector graphics
  • Easy integration via pub
  • Optimized for performance
  • Predefined country list

Suitable for

  • Apps with international users
  • Localization tools
  • Travel and language apps
  • Global e-commerce platforms
  • UI/UX designers seeking consistency

Considerations

  • Limited to predefined country flags
  • No custom flag support
  • Requires internet for latest updates
  • Not suitable for non-country flag use
  • May increase bundle size slightly
  • No animation or interactive features

Original README

Original README snapshot from the linked source repository. Visit the repository 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

Categories

Dependencies

Dependency list 2 items

Source repository

Projects using this package