docx_dart 1.2.0 copy "docx_dart: ^1.2.0" to clipboard
docx_dart: ^1.2.0 copied to clipboard

A Dart library for creating, reading, editing, and saving Microsoft Word .docx files.

110/ 160
pub points
192
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

198 out of 322 API elements (61.5 %) have documentation comments.

Some symbols that are missing documentation: docx_dart, docx_dart.BaseStyle, docx_dart.BaseStyle.BaseStyle.new, docx_dart.BaseStyle.builtin, docx_dart.BaseStyle.delete.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. 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

Found 368 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/src/blkcntnr.dart:1:1

  ╷
1 │ /// Path: lib/src/blkcntnr.dart
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/blkcntnr.dart

INFO: The type name 'MSO_COLOR_TYPE' isn't an UpperCamelCase identifier.

lib/src/enum/dml.dart:11:6

   ╷
11 │ enum MSO_COLOR_TYPE {
   │      ^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/enum/dml.dart

Failed report section
Support up-to-date dependencies
10 / 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
collection ^1.19.1 1.19.1 1.19.1
crypto ^3.0.6 3.0.7 3.0.7
image >=4.0.0 <4.5.2 4.5.1 4.9.1
meta ^1.16.0 1.18.3 1.18.3
path ^1.9.0 1.9.1 1.9.1
xml ^6.5.0 6.6.1 7.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.9 4.0.9
ffi - 2.2.0 2.2.0
petitparser - 7.0.2 7.0.2
posix - 6.5.0 6.5.0
typed_data - 1.4.0 1.4.0

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

The constraint `>=4.0.0 <4.5.2` on image does not support the stable version `4.5.2`.

Try running dart pub upgrade --major-versions image to update the constraint.

The constraint `^6.5.0` on xml does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions xml to update the constraint.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • UNDEFINED_GETTER - lib/src/image/image.dart:155:23 - The getter 'pixelDimensions' isn't defined for the type 'PngInfo'.
  • UNDEFINED_CLASS - lib/src/image/image.dart:220:29 - Undefined class 'PngPhysicalPixelDimensions'.
  • UNDEFINED_PREFIXED_NAME - lib/src/image/image.dart:225:33 - The name 'PngPhysicalPixelDimensions' is being referenced through the prefix 'img', but it isn't defined in any of the libraries imported using that prefix.

Run dart pub downgrade and then dart 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.14, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
110
points
192
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Dart library for creating, reading, editing, and saving Microsoft Word .docx files.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, crypto, image, meta, path, xml

More

Packages that depend on docx_dart