doc_text_extractor 2.1.0
doc_text_extractor: ^2.1.0 copied to clipboard
A Flutter package for extracting text and chapters from Word (.doc, .docx), PDF, Google Docs URLs, and Markdown (.md) files, with offline .doc and .md support and real filename extraction.
We analyzed this package 27 hours ago, and awarded it 120 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
3 out of 15 API elements (20.0 %) have documentation comments.
Some symbols that are missing documentation: doc_text_extractor, doc_text_extractor.Chapter, doc_text_extractor.Chapter.Chapter.fromJson, doc_text_extractor.Chapter.Chapter.new, doc_text_extractor.Chapter.content.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:doc_text_extractor/doc_text_extractor.dartthat imports:package:doc_text_extractor/src/text_extractor.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: Unused import: 'dart:developer'.
lib/src/text_parsers/pdf_parser.dart:1:8
╷
1 │ import 'dart:developer';
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/text_parsers/pdf_parser.dart
INFO: The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.
lib/src/text_parsers/pdf_parser.dart:2:8
╷
2 │ import 'dart:typed_data';
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/text_parsers/pdf_parser.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
^4.0.7 |
4.0.7 | 4.0.7 | |
http |
^1.6.0 |
1.6.0 | 1.6.0 | |
markdown |
^7.3.0 |
7.3.0 | 7.3.0 | |
syncfusion_flutter_pdf |
^31.2.15 |
31.2.18 | 32.1.19 | |
xml |
^6.6.1 |
6.6.1 | 6.6.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
posix |
- | 6.0.3 | 6.0.3 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
syncfusion_flutter_core |
- | 31.2.18 | 32.1.19 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^31.2.15` on syncfusion_flutter_pdf does not support the stable version `32.1.19`, that was published 0 days ago.
When syncfusion_flutter_pdf is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions syncfusion_flutter_pdf 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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.