这是indexloc提供的服务,不要输入任何密码

html_editor_enhanced 2.7.1 copy "html_editor_enhanced: ^2.7.1" to clipboard
html_editor_enhanced: ^2.7.1 copied to clipboard

Platformweb

HTML rich text editor for Android, iOS, and Web, using the Summernote library. Enhanced with highly customizable widget-based controls, bug fixes, callbacks, dark mode, and more.

150/ 160
pub points
28k
downloads

We analyzed this package 2 days ago, and awarded it 150 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

223 out of 403 API elements (55.3 %) have documentation comments.

Some symbols that are missing documentation: callbacks, callbacks.Callbacks.Callbacks.new, dart_ui_fake, dart_ui_fake.platformViewRegistry.platformViewRegistry.new, dart_ui_fake.window.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:html_editor_enhanced/html_editor.dart that imports:
  • package:html_editor_enhanced/utils/options.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:html_editor_enhanced/html_editor.dart that imports:
  • package:html_editor_enhanced/utils/options.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:html_editor_enhanced/html_editor.dart that imports:
  • package:html_editor_enhanced/src/widgets/toolbar_widget.dart that imports:
  • package:pointer_interceptor/pointer_interceptor.dart that declares support for platforms: iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:html_editor_enhanced/html_editor.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:html_editor_enhanced/html_editor.dart that imports:
  • package:html_editor_enhanced/utils/options.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Web`.

Because:

  • package:html_editor_enhanced/html_editor.dart that imports:
  • package:html_editor_enhanced/utils/options.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/linux/file_picker_linux.dart that imports:
  • package:dbus/dbus.dart that declares support for platforms: Windows, Linux.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:html_editor_enhanced/html_editor.dart that imports:
  • package:html_editor_enhanced/utils/options.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/file_picker_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.

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 12 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/src/html_editor_controller_mobile.dart:76:38

   ╷
76 │             text == '<p><br/></p>')) text = '';
   │                                      ^^^^^^^^^^
   ╵

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

INFO: Missing type annotation.

lib/src/html_editor_controller_mobile.dart:241:33

    ╷
241 │   String _processHtml({required html}) {
    │                                 ^^^^
    ╵

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
file_picker ^10.2.0 10.3.6 10.3.6
flex_color_picker ^3.7.0 3.7.2 3.7.2
flutter_inappwebview ^6.1.5 6.1.5 6.1.5
flutter_keyboard_visibility ^6.0.0 6.0.0 6.0.0
meta >=1.0.0 <2.0.0 1.17.0 1.17.0
numberpicker ^2.1.2 2.1.2 2.1.2
pointer_interceptor ^0.10.1+1 0.10.1+2 0.10.1+2
visibility_detector ^0.4.0+2 0.4.0+2 0.4.0+2
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
cross_file - 0.3.5 0.3.5
dbus - 0.7.11 0.7.11
ffi - 2.1.4 2.1.4
flex_seed_scheme - 3.6.1 3.6.1
flutter_inappwebview_android - 1.1.3 1.1.3
flutter_inappwebview_internal_annotations - 1.2.0 1.2.0
flutter_inappwebview_ios - 1.1.2 1.1.2
flutter_inappwebview_macos - 1.1.2 1.1.2
flutter_inappwebview_platform_interface - 1.3.0+1 1.3.0+1
flutter_inappwebview_web - 1.1.2 1.1.2
flutter_inappwebview_windows - 0.6.0 0.6.0
flutter_keyboard_visibility_linux - 1.0.0 1.0.0
flutter_keyboard_visibility_macos - 1.0.0 1.0.0
flutter_keyboard_visibility_platform_interface - 2.0.0 2.0.0
flutter_keyboard_visibility_web - 2.0.0 2.0.0
flutter_keyboard_visibility_windows - 1.0.0 1.0.0
flutter_plugin_android_lifecycle - 2.0.32 2.0.32
infinite_listview - 1.1.0 1.1.0
material_color_utilities - 0.11.1 0.13.0
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
plugin_platform_interface - 2.1.8 2.1.8
pointer_interceptor_ios - 0.10.1+1 0.10.1+1
pointer_interceptor_platform_interface - 0.10.0+1 0.10.0+1
pointer_interceptor_web - 0.10.3 0.10.3
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
xml - 6.6.1 6.6.1

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
647
likes
150
points
28k
downloads

Publisher

unverified uploader

Weekly Downloads

HTML rich text editor for Android, iOS, and Web, using the Summernote library. Enhanced with highly customizable widget-based controls, bug fixes, callbacks, dark mode, and more.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

file_picker, flex_color_picker, flutter, flutter_inappwebview, flutter_keyboard_visibility, meta, numberpicker, pointer_interceptor, visibility_detector

More

Packages that depend on html_editor_enhanced