svg_flag 1.5.0 copy "svg_flag: ^1.5.0" to clipboard
svg_flag: ^1.5.0 copied to clipboard

A curated collection of all country flags in SVG format for easier integration.

Svg Flag Logo

Svg Flag #


A curated collection of all country flags in SVG format for easier integration.

Preview #

Screenrecorder-2022-10-12-14-49-17-88

Install #

Add this line to your pubspec.yaml.

dependencies:
  svg_flag: ^1.5.0

Usage #

Import the package.

import 'package:svg_flag/svg_flag.dart';

Set flag from available static [FlagData]

SvgFlag(FlagData.id);

Set flag by parsing code from [String]

SvgFlag(FlagData.parse(code: "ID"));

Example #

14
likes
150
points
1.79k
downloads
screenshot

Publisher

verified publisherinidia.app

Weekly Downloads

A curated collection of all country flags in SVG format for easier integration.

Repository (GitHub)

Topics

#flag #svg #icon #asset

Documentation

API reference

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

flutter, flutter_svg

More

Packages that depend on svg_flag