open_file 3.0.1

Flutter Android iOS

A plug-in that can call native APP to open files with string result in flutter,support iOS(UTI) and android(intent)

95
likes
80 / 110
pub points
97 %
popularity

We analyzed this package on Sep 25, 2020, and awarded it 80 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: 20% or more of the public API has dartdoc comments

  • 2 out of 18 API elements (11.1 %) 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.

Support multiple platforms
10 / 20

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

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:open_file/open_file.dart that declares support for platforms: Android, iOS

Consider supporting these prerelease platforms:

Package does not support Flutter platform Windows

Because:

  • package:open_file/open_file.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform Linux

Because:

  • package:open_file/open_file.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform macOS

Because:

  • package:open_file/open_file.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 8 issues. Showing the first 2:

INFO: Name non-constant identifiers using lowerCamelCase.

lib/src/plaform/windows.dart:19:5

   ╷
19 │ int ShellExecute(String operation, String file) {
   │     ^^^^^^^^^^^^
   ╵

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

INFO: Name non-constant identifiers using lowerCamelCase.

lib/src/plaform/windows.dart:24:9

   ╷
24 │   final ShellExecuteP =
   │         ^^^^^^^^^^^^^
   ╵

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
ffi^0.1.30.1.30.1.3
flutterflutter0.0.00.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.0.01.0.0
collection-1.14.131.14.13
meta-1.1.81.2.3
sky_engine-0.0.990.0.99
typed_data-1.2.01.2.0
vector_math-2.0.82.0.8

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

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

95
likes
80
pub points
97%
popularity

A plug-in that can call native APP to open files with string result in flutter,support iOS(UTI) and android(intent)

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

21527312@qq.com

License

BSD (LICENSE)

Dependencies

ffi, flutter

More

Packages that depend on open_file