hocr_editor 0.0.1
hocr_editor: ^0.0.1 copied to clipboard
A flutter fullscreen widget, that displays hocr (xml) file along with original image and allows to edit the text in it.
We analyzed this package 22 hours ago, and awarded it 50 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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 14 API elements (7.1 %) 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: hocr_editor, hocr_editor.HOCREditingController, hocr_editor.HOCREditingController.HOCREditingController.new, hocr_editor.HOCREditingController.edit, hocr_editor.HOCREditingController.onCopyToClipboard.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 12 issues. Showing the first 2:
ERROR: The getter 'selectedRowColor' isn't defined for the type 'ThemeData'.
lib/src/views/widgets/menu/bottom_menu.dart:51:38
╷
51 │ color: Theme.of(context).selectedRowColor,
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/views/widgets/menu/bottom_menu.dart
WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.
lib/src/views/widgets/interactive_text.dart:41:34
╷
41 │ Overlay.of(context)?.context.findRenderObject() as RenderBox?;
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/views/widgets/interactive_text.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
adaptive_dialog |
^1.8.0+1 |
1.10.1 | 2.7.1 | |
collection |
^1.16.0 |
1.19.1 | 1.19.1 | |
dart_hocr |
^0.1.0 |
0.1.0 | 0.1.0 | |
flutter_riverpod |
^2.0.2 |
2.6.1 | 3.3.1 | |
font_awesome_flutter |
^10.2.1 |
10.12.0 | 11.0.0 | |
image |
^3.2.2 |
3.3.0 | 4.8.0 | |
material_design_icons_flutter |
^5.0.6996 |
5.0.6996 | 7.0.7296 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
animations |
- | 2.1.1 | 2.1.1 | |
appkit_ui_element_colors |
- | 1.0.1 | 1.0.1 | |
archive |
- | 3.6.1 | 4.0.9 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dynamic_color |
- | 1.8.1 | 1.8.1 | |
equatable |
- | 2.0.8 | 2.0.8 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
gradient_borders |
- | 1.0.2 | 1.0.2 | |
intersperse |
- | 2.0.0 | 2.0.0 | |
leak_tracker |
- | 11.0.2 | 11.0.2 | |
leak_tracker_flutter_testing |
- | 3.0.10 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.2 | 3.0.2 | |
macos_ui |
- | 2.2.2 | 2.2.2 | |
macos_window_utils |
- | 1.9.1 | 1.9.1 | |
matcher |
- | 0.12.19 | 0.12.19 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
riverpod |
- | 2.6.1 | 3.2.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
state_notifier |
- | 1.0.0 | 1.0.0 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.10 | 0.7.10 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 5 issues. Showing the first 2:
The constraint `^1.8.0+1` on adaptive_dialog does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions adaptive_dialog to update the constraint.
The constraint `^2.0.2` on flutter_riverpod does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions flutter_riverpod to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
UNDEFINED_GETTER-lib/src/views/widgets/menu/bottom_menu.dart:51:38- The getter 'selectedRowColor' isn't defined for the type 'ThemeData'.
Run flutter pub downgrade and then flutter 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.11, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.