パッケージ、リポジトリ、アプリカテゴリを検索

GitHub リポジトリLunaGao/flag_flutter

flag_flutter

国旗アイコン

flag_flutter のプロジェクト画像
スター
66
フォーク
62
最終プッシュ(UTC)
2025/09/22
プロジェクト状態
公開中

元の README

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

Logo

flag

Pub Version Bless

A flag Flutter package for Android / iOS / Web. Based by package:flutter_svg .

Screenshot

Screenshot

Svg sources

  • All flags came from https://github.com/lipis/flag-icons/releases/tag/v4.1.4

Thanks the great project flag-icons.

Flag list

ISO 3166-1-alpha-2 Flags

Note:

Organisations

  • eu European Union.

Disputed territories

  • hk Hong Kong. Special Administrative Region of China.
  • mo Macau. Special Administrative Region of China.
  • eh Western Sahara. Claimed by Morocco.
  • tw Taiwan. Claimed by China.

Undisputed territories which are non-UN state

  • va Vatican City. Govern by the Holy See.

How to use

Flag.fromCode(
    FlagsCode.COUNTRY_CODE, 
    height: HEIGHT, 
    width: WIDTH,
)
Flag.fromString(
    COUNTRY_CODE, 
    height: HEIGHT, 
    width: WIDTH,
)
Flags.fromCode(
    [
        FlagsCode.GB, 
        FlagsCode.US
    ], 
    height: 100, 
    width: 100 * 4 / 3,
)

Such as

  • Flag.fromCode(FlagsCode.AD, height: 100, width: null)
  • Flag.fromString('AD', height: null, width: null)
  • Flag.fromString('AD', height: 10, width: 100, fit: BoxFit.fill)

for developers

How to publish https://docs.flutter.dev/packages-and-plugins/developing-packages#publish

Star History

Star History Chart

Luna Gao GitHub avatar
GitHub 作者

Luna Gao ↗

Maomishen

MaomishenChina公式サイト ↗
言語DartPythonHTMLObjective-CSwiftJavaKotlin

カテゴリー

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

使用している依存関係

依存関係一覧 4 件

プロジェクトに合うリポジトリを選ぶには?

用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。

  1. 名前・作者・説明で検索し、技術トピックで絞り込みます。
  2. スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
  3. 利用前に GitHub で README、ライセンス、Issues を確認します。

情報源と管理

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗