hocr_editor 0.0.1 copy "hocr_editor: ^0.0.1" to clipboard
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.

2
likes
70/ 140
pub points
0%
popularity

We analyzed this package 7 days ago, and awarded it 70 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

partial
Provide documentation
10 / 20trigger folding of the section

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.

Some symbols that are missing documentation: hocr_editor, hocr_editor.HOCREditingController, hocr_editor.HOCREditingController.HOCREditingController, hocr_editor.HOCREditingController.edit, hocr_editor.HOCREditingController.onCopyToClipboard.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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 does not support platform `Android`.

Because:

  • package:hocr_editor/hocr_editor.dart that imports:
  • package:hocr_editor/src/views/hocr_editor.dart that imports:
  • package:hocr_editor/src/views/widgets/menu/bottom_menu.dart that imports:
  • package:adaptive_dialog/adaptive_dialog.dart that imports:
  • package:adaptive_dialog/src/text_input_dialog/show_text_input_dialog.dart that imports:
  • package:adaptive_dialog/src/text_input_dialog/macos_text_input_dialog.dart that imports:
  • package:macos_ui/macos_ui.dart that declares support for platforms: macOS.
Package does not support platform `iOS`.

Because:

  • package:hocr_editor/hocr_editor.dart that imports:
  • package:hocr_editor/src/views/hocr_editor.dart that imports:
  • package:hocr_editor/src/views/widgets/menu/bottom_menu.dart that imports:
  • package:adaptive_dialog/adaptive_dialog.dart that imports:
  • package:adaptive_dialog/src/text_input_dialog/show_text_input_dialog.dart that imports:
  • package:adaptive_dialog/src/text_input_dialog/macos_text_input_dialog.dart that imports:
  • package:macos_ui/macos_ui.dart that declares support for platforms: macOS.
Package does not support platform `Windows`.

Because:

  • package:hocr_editor/hocr_editor.dart that imports:
  • package:hocr_editor/src/views/hocr_editor.dart that imports:
  • package:hocr_editor/src/views/widgets/menu/bottom_menu.dart that imports:
  • package:adaptive_dialog/adaptive_dialog.dart that imports:
  • package:adaptive_dialog/src/text_input_dialog/show_text_input_dialog.dart that imports:
  • package:adaptive_dialog/src/text_input_dialog/macos_text_input_dialog.dart that imports:
  • package:macos_ui/macos_ui.dart that declares support for platforms: macOS.
Package does not support platform `Linux`.

Because:

  • package:hocr_editor/hocr_editor.dart that imports:
  • package:hocr_editor/src/views/hocr_editor.dart that imports:
  • package:hocr_editor/src/views/widgets/menu/bottom_menu.dart that imports:
  • package:adaptive_dialog/adaptive_dialog.dart that imports:
  • package:adaptive_dialog/src/text_input_dialog/show_text_input_dialog.dart that imports:
  • package:adaptive_dialog/src/text_input_dialog/macos_text_input_dialog.dart that imports:
  • package:macos_ui/macos_ui.dart that declares support for platforms: macOS.
Package does not support platform `Web`.

Because:

  • package:hocr_editor/hocr_editor.dart that imports:
  • package:hocr_editor/src/views/hocr_editor.dart that imports:
  • package:hocr_editor/src/views/widgets/menu/bottom_menu.dart that imports:
  • package:adaptive_dialog/adaptive_dialog.dart that imports:
  • package:adaptive_dialog/src/text_input_dialog/show_text_input_dialog.dart that imports:
  • package:adaptive_dialog/src/text_input_dialog/macos_text_input_dialog.dart that imports:
  • package:macos_ui/macos_ui.dart that declares support for platforms: macOS.
failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
adaptive_dialog ^1.8.0+1 1.10.1 2.1.0
collection ^1.16.0 1.18.0 1.18.0
dart_hocr ^0.1.0 0.1.0 0.1.0
flutter flutter 0.0.0 0.0.0
flutter_riverpod ^2.0.2 2.5.1 2.5.1
font_awesome_flutter ^10.2.1 10.7.0 10.7.0
image ^3.2.2 3.3.0 4.1.7
material_design_icons_flutter ^5.0.6996 5.0.6996 7.0.7296
Transitive dependencies
Package Constraint Compatible Latest
animations - 2.0.11 2.0.11
appkit_ui_element_colors - 1.0.0 1.0.0
archive - 3.5.1 3.5.1
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
crypto - 3.0.3 3.0.3
dynamic_color - 1.7.0 1.7.0
equatable - 2.0.5 2.0.5
fake_async - 1.3.1 1.3.1
flutter_test - 0.0.0 0.0.0
gradient_borders - 1.0.0 1.0.0
intersperse - 2.0.0 2.0.0
leak_tracker - 10.0.4 10.0.5
leak_tracker_flutter_testing - 3.0.3 3.0.5
leak_tracker_testing - 3.0.1 3.0.1
macos_ui - 2.0.7 2.0.7
macos_window_utils - 1.5.0 1.5.0
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
riverpod - 2.5.1 2.5.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
state_notifier - 1.0.0 1.0.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
vm_service - 14.2.1 14.2.2
xml - 6.5.0 6.5.0

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

Found 3 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 `^3.2.2` on image does not support the stable version `4.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.22.0, Dart 3.4.0.

Check the analysis log for details.

2
likes
70
pub points
0%
popularity

Publisher

verified publishercloudonlanapps.com

A flutter fullscreen widget, that displays hocr (xml) file along with original image and allows to edit the text in it.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

adaptive_dialog, collection, dart_hocr, flutter, flutter_riverpod, font_awesome_flutter, image, material_design_icons_flutter

More

Packages that depend on hocr_editor