docx_file_viewer 0.0.6 copy "docx_file_viewer: ^0.0.6" to clipboard
docx_file_viewer: ^0.0.6 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 [...]

8
likes
130/ 160
pub points
803
downloads

We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/alihassan143/docx_viewer/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

9482 out of 9996 API elements (94.9 %) have documentation comments.

Some symbols that are missing documentation: docx_file_viewer, docx_file_viewer.AbstractFileHandle, docx_file_viewer.AbstractFileHandle.AbstractFileHandle.new, docx_file_viewer.AbstractFileHandle.close, docx_file_viewer.AbstractFileHandle.closeSync.

Passed check 10/10 points: Package has an example and has no issues with screenshots

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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

Failed check 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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:468:40

    ╷
468 │         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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 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.6
xml ^6.5.0 6.5.0 6.5.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 6.1.0
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.5

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.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
8
likes
130
points
803
downloads
screenshot

Publisher

verified publisheralihassan143cool.blogspot.com

Weekly Downloads

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, especially with complex formatting.

Repository (GitHub)
View/report issues

Topics

#docx #docxviewer #word

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

archive, flutter, xml

More

Packages that depend on docx_file_viewer