Skip to content
pubscout

circle_flags

7.0.0, released 7 weeks ago by an unverified publisher

Provides a CircleFlag widget to display circular country flag SVGs.

WASM-readyUses material_ui
$ flutter pub add circle_flags
Source repository

What it does

The package ships SVG assets for many countries and a CircleFlag widget that renders them as round icons. It supports preloading, case‑insensitive ISO codes and accessibility options.

AI-written summary of version 7.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to show country flags in a UI without custom assets
  • You want a lightweight, ready‑to‑use flag widget with preloading for smooth scrolling

Skip it when

  • You require custom flag designs or non‑SVG formats
  • You need a large, regularly updated flag set beyond what the package provides

Strengths

  • Simple API and ready‑made flag assets
  • Preload method improves list performance
  • Semantics options for accessibility
  • No extra build steps

Weaknesses

  • Limited to the bundled flag set
  • Relies on flutter_svg for rendering
  • No runtime flag generation

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2
CircleFlag('us');
CircleFlag.preload(['fr','us']);

Alternatives

Packages that do the same job and could replace circle_flags.

  • world_flags

    Collection of more than 250 vector-based world flags rendered as widgets without assets.

  • country_picker

    A Flutter widget to pick a country from a list with optional phone code and search.

  • country_flags

    Displays country flags as SVG or emoji using ISO country, language, currency, or phone prefix codes

  • country_pickers

    Provides country picker widgets with flags, ISO codes and phone prefixes.

Works with

Packages commonly used together with circle_flags: ones it builds on, ones built on it, and its own family.