ecp_file_view 3.0.2
ecp_file_view: ^3.0.2 copied to clipboard
A file viewer plugin for Flutter, support local file and network link of Android, iOS.
We analyzed this package 22 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://gitlab.ctbiyi.com/appgroup/flutter/baselib/ecp_file_view was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
30 out of 65 API elements (46.2 %) have documentation comments.
Some symbols that are missing documentation: ecp_file_view, ecp_file_view.FilePreview.FilePreview.new, ecp_file_view.FilePreview.preview, ecp_file_view.FileTool.getLocalTempPath, ecp_file_view.LocalFileViewer.LocalFileViewer.new.
10/10 points: Package has an example
10/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:ecp_file_view/ecp_file_view.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:ecp_file_view/ecp_file_view.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:ecp_file_view/ecp_file_view.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:ecp_file_view/ecp_file_view.dartthat declares support for platforms:Android,iOS.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
The package does not contain ios/ecp_file_view/Package.swift.
Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.
Built-in Kotlin support:
Legacy Kotlin configuration detected in `android/build.gradle`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/src/enum/download_status.dart:1:1
╷
1 │ ┌ /// @Describe: The download status of file.
2 │ │ ///
3 │ │ /// @Author: LiWeNHuI
4 │ └ /// @Date: 2022/2/25
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/enum/download_status.dart
INFO: Dangling library doc comment.
lib/src/enum/view_type.dart:1:1
╷
1 │ ┌ /// @Describe: The type of view
2 │ │ ///
3 │ │ /// @Author: LiWeNHuI
4 │ └ /// @Date: 2022/2/15
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/enum/view_type.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
better_open_file |
^3.6.4 |
3.6.5 | 3.6.5 | |
dict_flutter_extension |
^1.0.0 |
1.0.1 | 1.0.1 | |
dio |
^5.0.0 |
5.11.1 | 5.11.1 | |
ecp_net |
^0.0.1 |
0.0.9 | 0.0.9 | |
ecp_theme |
^2.0.0 |
2.0.3 | 2.0.3 | |
flutter_smart_dialog |
^4.5.5+3 |
4.9.8+10 | 5.3.0 | |
path_provider |
^2.0.11 |
2.1.6 | 2.1.6 | |
permission_handler |
^11.3.1 |
11.4.0 | 13.0.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 2.1.0 | 2.1.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity |
- | 3.0.6 | 3.0.6 | Discontinued |
connectivity_for_web |
- | 0.4.0+1 | 0.4.0+1 | Discontinued |
connectivity_macos |
- | 0.2.1+2 | 0.2.1+2 | |
connectivity_platform_interface |
- | 2.0.1 | 2.0.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
flutter_screenutil |
- | 5.9.3 | 5.9.3 | |
hooks |
- | 2.2.0 | 2.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
jni |
- | 1.0.3 | 1.0.3 | |
jni_flutter |
- | 1.0.3 | 1.0.3 | |
jni_util |
- | 1.0.0 | 1.0.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
objective_c |
- | 9.6.0 | 9.6.0 | |
package_config |
- | 3.0.0 | 3.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
permission_handler_android |
- | 12.1.0 | 14.1.0 | |
permission_handler_apple |
- | 9.6.1 | 9.6.1 | |
permission_handler_html |
- | 0.1.4+1 | 0.1.4+1 | |
permission_handler_platform_interface |
- | 4.4.1 | 4.4.1 | |
permission_handler_windows |
- | 0.2.2 | 0.2.2 | |
platform |
- | 3.2.0 | 3.2.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
record_use |
- | 1.1.1 | 1.1.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^4.5.5+3` on flutter_smart_dialog does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions flutter_smart_dialog to update the constraint.
The constraint `^11.3.1` on permission_handler does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions permission_handler 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.23.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.