svg_flag 1.5.1 copy "svg_flag: ^1.5.1" to clipboard
svg_flag: ^1.5.1 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.1

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 #

11
likes
140
pub points
78%
popularity
screenshot

Publisher

verified publisherinidia.app

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

Homepage
Repository (GitHub)
View/report issues

Topics

#flag #svg #icon #asset

Documentation

API reference

Funding

Consider supporting this project:

ko-fi.com

License

MIT (LICENSE)

Dependencies

flutter, flutter_svg

More

Packages that depend on svg_flag