share 2.0.1
share: ^2.0.1 copied to clipboard

Flutter plugin for sharing content via the platform share UI, using the ACTION_SEND intent on Android and UIActivityViewController on iOS.

1240
likes
100 / 130
pub points
99 %
popularity

We analyzed this package on Apr 22, 2021, and awarded it 100 pub points (of a possible 130):

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
20 / 20

10/10 points: Package has an example

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

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

  • 4 out of 6 API elements (66.7 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Found 6 issues. Showing the first 2:

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:share/share.dart that declares support for platforms: Android, iOS
Pass static analysis
20 / 30

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

Found 4 issues. Showing the first 2:

INFO: The operand can't be null, so the condition is always true.

lib/share.dart:39:17

   ╷
39 │     assert(text != null);
   │                 ^^^^^^^
   ╵

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

INFO: The operand can't be null, so the condition is always true.

lib/share.dart:75:18

   ╷
75 │     assert(paths != null);
   │                  ^^^^^^^
   ╵

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

Support up-to-date dependencies
10 / 20

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

  • Could not run pub outdated: pub get failed:
Because share depends on integration_test from path which doesn't exist (could not find package integration_test at "../integration_test"), version solving failed.

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

Support sound null safety
20 / 20

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.15.4, Flutter 2.0.4, Dart 2.12.2.

1240
likes
100
pub points
99%
popularity

Publisher

flutter.dev

Flutter plugin for sharing content via the platform share UI, using the ACTION_SEND intent on Android and UIActivityViewController on iOS.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter, meta, mime

More

Packages that depend on share