dart_pptx 0.1.3 dart_pptx: ^0.1.3 copied to clipboard
A package for creating pptx files from markdown or slide templates.
We analyzed this package 7 days ago, and awarded it 140 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: Apache-2.0
.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 228 API elements (0.9 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: dart_pptx.Assets
, dart_pptx.Assets.Assets
, dart_pptx.Assets.cache
, dart_pptx.Assets.clearCache
, dart_pptx.Assets.client
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:dart_pptx/dart_pptx.dart
that imports:package:dart_pptx/src/context.dart
that imports:package:dart_pptx/src/compression.dart
that imports:package:dart_pptx/src/archive/create_zip.dart
that imports:package:dart_pptx/src/archive/zip_file_encoder.dart
that imports:package:dart_pptx/src/archive/output_file_stream.dart
that imports:package:file/file.dart
that imports:package:file/src/interface.dart
that imports:package:file/src/io.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:dart_pptx/dart_pptx.dart
that imports:package:dart_pptx/src/context.dart
that imports:package:dart_pptx/src/compression.dart
that imports:package:dart_pptx/src/archive/create_zip.dart
that imports:package:dart_pptx/src/archive/zip_file_encoder.dart
that imports:package:dart_pptx/src/archive/output_file_stream.dart
that imports:package:file/file.dart
that imports:package:file/src/interface.dart
that imports:package:file/src/io.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
Found 68 issues. Showing the first 2:
INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.
lib/src/classes/arc.dart:70:44
╷
70 │ final related = slide.imageRefs.values.whereNotNull().toList();
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/classes/arc.dart
INFO: Dangling library doc comment.
lib/src/template/%5BContent_Types%5D.xml.mustache.dart:2:1
╷
2 │ /// See `bin/copy.dart` for more information.
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/template/[Content_Types].xml.mustache.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
archive |
^3.4.2 |
3.6.1 | 3.6.1 |
collection |
^1.15.0 |
1.19.1 | 1.19.1 |
file |
^7.0.0 |
7.0.1 | 7.0.1 |
http |
^1.1.0 |
1.2.2 | 1.2.2 |
image_size_getter |
^2.1.2 |
2.2.0 | 2.2.0 |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 |
mustache_template |
^2.0.0 |
2.0.0 | 2.0.0 |
path |
^1.8.3 |
1.9.1 | 1.9.1 |
recase |
^4.1.0 |
4.1.0 | 4.1.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
crypto |
- | 3.0.6 | 3.0.6 |
hashcodes |
- | 2.0.0 | 2.0.0 |
http_parser |
- | 4.1.1 | 4.1.1 |
meta |
- | 1.16.0 | 1.16.0 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
web |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.15
, Dart 3.5.4
.
Check the analysis log for details.