v5.0.1circle_flags
丸い旗のコレクション
40いいね 4.5万30日間ダウンロード130Pub ポイント
AndroidiOSWebmacOSWindowsLinux
Flutter用の円形の旗
{"sdk":"flutter"}^2.0.9^2.4.8^2.0.3{"sdk":"flutter"}^3.0.3any以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
A collection of circular country flags.
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
// use a valid country code
CircleFlag('us');
CircleFlag('fr');
CircleFlag(Flags.US);
You might want to preload images for a smoother list scrolling experience:
CircleFlag.preload(['fr', 'us']);
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
see CONTRIBUTING.md
For generating the flag.dart just run
dart run tools/generate_flag.dart