docx_file_viewer 0.0.7 docx_file_viewer: ^0.0.7 copied to clipboard
A Flutter package to view DOCX files within your app. It allows users to load and display DOCX content. While the package tries to render documents accurately, some rendering issues may occur, especia [...]
We analyzed this package 6 days ago, and awarded it 140 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description
field in your package's pubspec.yaml
file between 60 and 180 characters.
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
25259 out of 25681 API elements (98.4 %) have documentation comments.
Some symbols that are missing documentation: docx_file_viewer
, docx_file_viewer.AbstractFileHandle
, docx_file_viewer.AbstractFileHandle.AbstractFileHandle
, docx_file_viewer.AbstractFileHandle.close
, docx_file_viewer.AbstractFileHandle.closeSync
.
10/10 points: Package has an example and has no issues with screenshots
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:docx_file_viewer/docx_file_viewer.dart
that imports:package:docx_file_viewer/src/ui/ui.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:docx_file_viewer/docx_file_viewer.dart
that imports:package:docx_file_viewer/src/ui/ui.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/core/docx_extractor.dart:584:40
╷
584 │ return BorderSide(color: color.withOpacity(0.8), width: width);
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/docx_extractor.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
archive |
^3.6.1 |
3.6.1 | 4.0.2 |
flutter |
flutter |
0.0.0 | 0.0.0 |
xml |
^6.5.0 |
6.5.0 | 6.5.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
petitparser |
- | 6.0.2 | 6.0.2 |
sky_engine |
- | 0.0.0 | 0.0.0 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
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`, that was published 11 days ago.
When archive is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions archive
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.