FLUTTER ECOSYSTEM

cedvdb/flutter_circle_flags

Flutter用の円形の旗

flutter_circle_flags のプロジェクト画像
Stars
12
Forks
47
最終プッシュ(UTC)
2025/10/06
プロジェクト状態
公開中
cedvdb GitHub avatar
GITHUB User

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.

言語C++DartCMakeHTMLSwiftCKotlinObjective-C

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 7 件

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

circle_flags

A collection of circular country flags.

Demo

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

https://hatscripts.github.io/circle-flags/flags/br.svg https://hatscripts.github.io/circle-flags/flags/cn.svg https://hatscripts.github.io/circle-flags/flags/gb.svg https://hatscripts.github.io/circle-flags/flags/id.svg https://hatscripts.github.io/circle-flags/flags/in.svg https://hatscripts.github.io/circle-flags/flags/ng.svg https://hatscripts.github.io/circle-flags/flags/ru.svg https://hatscripts.github.io/circle-flags/flags/us.svg

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