flutter_svg 0.18.0

An SVG rendering and widget library for Flutter, which allows painting and displaying Scalable Vector Graphics 1.1 files.

392
likes
30 / 110
pub points
99 %
popularity

We analyzed this package on Aug 5, 2020, and awarded it 30 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

0/10 points: Failed to run dartdoc

  • Running dartdoc failed with the following output:

Support multiple platforms
0 / 20

0/20 points: Supports 0 of 2 possible platforms (native, js)

Package resolution failed. Could not determine platforms.

Run pub get for more information.

Pass static analysis
0 / 30

0/30 points: code has no errors, warnings, lints, or formatting issues

Found 1306 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'dart:ui'.

lib/avd.dart:5:8

  ╷
5 │ import 'dart:ui' show Picture;
  │        ^^^^^^^^^
  ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/avd.dart

ERROR: Target of URI doesn't exist: 'package:flutter/services.dart'.

lib/avd.dart:7:8

  ╷
7 │ import 'package:flutter/services.dart' show AssetBundle;
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/avd.dart

Support up-to-date dependencies
0 / 20

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

  • Could not run pub outdated: pub get failed:
The current Flutter SDK version is 1.17.5.

Because flutter_svg requires Flutter SDK version >=1.18.0-6.0.pre <2.0.0, version solving failed.

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

The current flutter constraint does not allow the latest Flutter (1.17.5)

pubspec.yaml:23:12

   ╷
23 │   flutter: ">=1.18.0-6.0.pre <2.0.0"
   │            ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
392
likes
30
pub points
99%
popularity

Publisher

dnfield.dev

An SVG rendering and widget library for Flutter, which allows painting and displaying Scalable Vector Graphics 1.1 files.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

More

Packages that depend on flutter_svg