v7.0.2flag
플래그를 표시하기 위한 플러터 패키지입니다. 모든 플래그는 https://github.com/lipis/flag-icons/releases/tag/v4.1.4 에서 가져왔습니다.
161좋아요 3.2만30일 다운로드160Pub 점수
AndroidiOSWebmacOSWindowsLinux
국기 아이콘
{"sdk":"flutter"}^2.2.1^2.2.1{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Logo
A flag Flutter package for Android / iOS / Web. Based by package:flutter_svg .
Screenshot
Thanks the great project flag-icons.
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.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)How to publish https://docs.flutter.dev/packages-and-plugins/developing-packages#publish