A collection of circular country flags.
to view all flags https://hatscripts.github.io/circle-flags/gallery
// use a valid country code
CircleFlag('us');
CircleFlag('fr');
CircleFlag('es');
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,
),
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.