universal_file_viewer 0.1.1
universal_file_viewer: ^0.1.1 copied to clipboard
A Flutter package to preview images, videos, PDFs, Word, Excel, CSV, PPT, and more.
We analyzed this package 6 days ago, and awarded it 80 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
11 out of 21 API elements (52.4 %) have documentation comments.
Some symbols that are missing documentation: universal_file_viewer, universal_file_viewer.FileType, universal_file_viewer.UniversalFileViewer, universal_file_viewer.UniversalFileViewer.UniversalFileViewer.new, universal_file_viewer.UniversalFileViewer.backgroundColor.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:universal_file_viewer/universal_file_viewer.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:universal_file_viewer/universal_file_viewer.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:universal_file_viewer/universal_file_viewer.dartthat declares support for platforms:Android,iOS,macOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
ERROR: The argument type 'CardTheme' can't be assigned to the parameter type 'CardThemeData?'.
lib/src/excel_csv_file_preview.dart:102:50
╷
102 │ .copyWith(cardTheme: const CardTheme(elevation: 0)),
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/excel_csv_file_preview.dart
INFO: 'scale' is deprecated and shouldn't be used. Use scaleByVector3, scaleByVector4, or scaleByDouble instead.
lib/src/word_file_preview.dart:63:23
╷
63 │ ..scale(details.scale);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/word_file_preview.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
^3.6.1 |
3.6.1 | 4.0.7 | |
docx_file_viewer |
^0.0.7 |
0.0.7 | 0.0.7 | |
excel |
^4.0.6 |
4.0.6 | 4.0.6 | |
markdown |
^7.3.0 |
7.3.0 | 7.3.0 | |
open_file |
^3.5.10 |
3.5.10 | 3.5.10 | |
path |
^1.9.1 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 | |
pdfrx |
^1.1.11 |
1.3.5 | 2.2.18 | |
shimmer |
^3.0.0 |
3.0.0 | 3.0.0 | |
video_player |
^2.9.3 |
2.10.1 | 2.10.1 | |
webview_flutter |
^4.10.0 |
4.13.0 | 4.13.0 | |
webview_flutter_web |
^0.2.3+4 |
0.2.3+4 | 0.2.3+4 | |
xml |
^6.5.0 |
6.6.1 | 6.6.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 91.0.0 | 92.0.0 | |
analyzer |
- | 8.4.1 | 9.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
cli_config |
- | 0.2.0 | 0.2.0 | |
cli_util |
- | 0.4.2 | 0.4.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
coverage |
- | 1.15.0 | 1.15.0 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dart_pubspec_licenses |
- | 3.0.15 | 3.0.15 | |
equatable |
- | 2.0.7 | 2.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
frontend_server_client |
- | 4.0.0 | 4.0.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 1.6.0 | 1.6.0 | |
http_multi_server |
- | 3.2.2 | 3.2.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
io |
- | 1.0.5 | 1.0.5 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
lints |
- | 6.0.0 | 6.0.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
node_preamble |
- | 2.0.2 | 2.0.2 | |
open_file_android |
- | 1.0.6 | 1.0.6 | |
open_file_ios |
- | 1.0.3 | 1.0.3 | |
open_file_linux |
- | 0.0.5 | 0.0.5 | |
open_file_mac |
- | 1.0.3 | 1.0.3 | |
open_file_platform_interface |
- | 1.0.3 | 1.0.3 | |
open_file_web |
- | 0.0.4 | 0.0.4 | |
open_file_windows |
- | 0.0.3 | 0.0.3 | |
package_config |
- | 2.2.0 | 2.2.0 | |
pana |
- | 0.22.24 | 0.23.3 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pool |
- | 1.5.2 | 1.5.2 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
retry |
- | 3.1.2 | 3.1.2 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
safe_url_check |
- | 1.1.2 | 1.1.2 | |
shelf |
- | 1.4.2 | 1.4.2 | |
shelf_packages_handler |
- | 3.0.2 | 3.0.2 | |
shelf_static |
- | 1.1.3 | 1.1.3 | |
shelf_web_socket |
- | 3.0.0 | 3.0.0 | |
source_map_stack_trace |
- | 2.1.2 | 2.1.2 | |
source_maps |
- | 0.10.13 | 0.10.13 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
tar |
- | 2.0.2 | 2.0.2 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test |
- | 1.28.0 | 1.28.0 | |
test_api |
- | 0.7.8 | 0.7.8 | |
test_core |
- | 0.6.14 | 0.6.14 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher |
- | 6.3.2 | 6.3.2 | |
url_launcher_android |
- | 6.3.28 | 6.3.28 | |
url_launcher_ios |
- | 6.3.6 | 6.3.6 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_macos |
- | 3.2.5 | 3.2.5 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
video_player_android |
- | 2.9.1 | 2.9.1 | |
video_player_avfoundation |
- | 2.8.8 | 2.8.8 | |
video_player_platform_interface |
- | 6.6.0 | 6.6.0 | |
video_player_web |
- | 2.4.0 | 2.4.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
watcher |
- | 1.2.0 | 1.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
webkit_inspection_protocol |
- | 1.2.1 | 1.2.1 | |
webview_flutter_android |
- | 4.10.11 | 4.10.11 | |
webview_flutter_platform_interface |
- | 2.14.0 | 2.14.0 | |
webview_flutter_wkwebview |
- | 3.23.5 | 3.23.5 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.6.1` on archive does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions archive to update the constraint.
The constraint `^1.1.11` on pdfrx does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions pdfrx to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/excel_csv_file_preview.dart:102:50- The argument type 'CardTheme' can't be assigned to the parameter type 'CardThemeData?'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.