circle_flags 3.0.1 copy "circle_flags: ^3.0.1" to clipboard
circle_flags: ^3.0.1 copied to clipboard

A collection of roundd flags

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('es');

Preloading #

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

// see full example in example
// create preloaded flag loaders bytes
final cache = FlagCache();
completer = cache.preload(['fr', 'us']);
// once the completer completes you can use

CircleFlag(
  'fr',
  cache: cache,
),

Issues & Contributing #

This package uses flags from https://github.com/HatScripts/circle-flags

If a change is required to one of the flag the issue should be opened in that repository.

36
likes
130
pub points
94%
popularity

Publisher

unverified uploader

A collection of roundd flags

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_svg

More

Packages that depend on circle_flags