ensign 5.0.4 copy "ensign: ^5.0.4" to clipboard
ensign: ^5.0.4 copied to clipboard

Platformweb

A flag Flutter package. Use for showing flags. All flags came from https://www.un.org/en/member-states/index.html .

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add ensign

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  ensign: ^5.0.4

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:ensign/flag.dart';
import 'package:ensign/flag_enum.dart';
import 'package:ensign/flag_widget.dart';
import 'package:ensign/platform/canvas_kit.dart';
import 'package:ensign/platform/canvas_kit_stub.dart';
import 'package:ensign/platform/canvas_kit_web.dart';
import 'package:ensign/platform/interface_svg.dart';
import 'package:ensign/platform/mobile_svg.dart';
import 'package:ensign/platform/web_svg.dart';
1
likes
140
points
44
downloads

Publisher

unverified uploader

Weekly Downloads

A flag Flutter package. Use for showing flags. All flags came from https://www.un.org/en/member-states/index.html .

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

enum_to_string, flutter, flutter_svg

More

Packages that depend on ensign