countries_flag_flutter 0.0.1 copy "countries_flag_flutter: ^0.0.1" to clipboard
countries_flag_flutter: ^0.0.1 copied to clipboard

Embed 250+ flags in your dream project using just one line of coding.

0
likes
110/ 160
pub points
12%
popularity

We analyzed this package 9 days ago, and awarded it 110 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

failed
Provide documentation
0 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

14 out of 281 API elements (5.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: countries_flag_flutter, countries_flag_flutter.CountryFlags, countries_flag_flutter.CountryFlags.CountryFlags, countries_flag_flutter.CountryFlags.countryFlagName, flags_name.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:countries_flag_flutter/countries_flag_flutter.dart that imports:
  • package:flutter_svg/flutter_svg.dart that imports:
  • package:flutter_svg/svg.dart that imports:
  • package:flutter_svg/src/picture_provider.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:countries_flag_flutter/countries_flag_flutter.dart that imports:
  • package:flutter_svg/flutter_svg.dart that imports:
  • package:flutter_svg/svg.dart that imports:
  • package:flutter_svg/src/vector_drawable.dart that imports:
  • package:flutter_svg/src/svg/xml_parsers.dart that imports:
  • package:flutter_svg/src/svg/parsers.dart that imports:
  • package:flutter_svg/src/utilities/http.dart that imports:
  • package:flutter_svg/src/utilities/_http_io.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: The part-of directive uses a library name.

lib/country_flags.dart:1:1

  ╷
1 │ part of countries_flag_flutter;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/country_flags.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_svg ^0.22.0 0.22.0 2.0.10+1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path_drawing - 0.5.1+1 1.0.1
path_parsing - 0.2.1 1.0.1
petitparser - 5.4.0 6.0.2
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4
xml - 5.4.1 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.22.0` on flutter_svg does not support the stable version `0.23.0`.

Try running dart pub upgrade --major-versions flutter_svg to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.12, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.

0
likes
110
pub points
12%
popularity

Publisher

verified publisheraddideveloper.blogspot.com

Embed 250+ flags in your dream project using just one line of coding.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_svg

More

Packages that depend on countries_flag_flutter