flag
a flag flutter package for android / ios / web. mobile based by https://github.com/dnfield/flutter_svg , web based by image.network
screenshot
svg source
- flag list came from un members. un web site
- a lot of flag svg files came from wike. such as antigua and barbuda
- some flag svg files came from countryflags.
fetch data :python file is fetch_data/main.py
update time: 2020-04-21 23:22:58
marge from 2.0.x to 3
replace flags.getflag(country:
to flag(
. 🙂
flag list
organisations
eu
european union. modify by art-decor for european union
how to use
flag(country_code, height: height, width: width),
such as
flag('ad', height: 100, width: null)
flag('ad', height: null, width: null)
flag('ad', height: 10, width: 100, fit: boxfit.fill)
bugs
brazilian
(br) flag, you can see that the letters are still a bit abnormal.
branch & version
switch flutter sdk channel
flutter-build-release-channels
flutter channel
flutter channel <channel-name>
develop
–> developstable
–> verison x.y.z (using lateststable
channel flutter sdk)
channel stable, 1.17.5
master
–> verison x.y.z-pre (using latestbate
channel flutter sdk)
channel beta, 1.20.0-7.3.pre
Comments are closed.