flutter_html_rich_text 1.0.0

Flutter Android iOS web

Flutter 加载富文本标签 flutter html 富文本标签 轻量级

0
likes
90 / 110
pub points
25 %
popularity

We analyzed this package on Oct 20, 2020, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/main.dart

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

  • 2 out of 10 API elements (20.0 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 20 issues. Showing the first 2:

INFO: The declaration '_handleImageChanged' isn't referenced.

lib/src/richtext/CustomImageSpan.dart:82:8

   ╷
82 │   void _handleImageChanged(ImageInfo imageInfo, bool synchronousCall) {
   │        ^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/src/richtext/CustomImageSpan.dart

INFO: 'children' is deprecated and shouldn't be used. InlineSpan does not innately have children. Use TextSpan.children instead. This feature was deprecated after v1.7.3..

lib/src/richtext/CustomRichTextRenderParagraph.dart:50:10

   ╷
50 │     text.children.forEach((textSpan) {
   │          ^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/src/richtext/CustomRichTextRenderParagraph.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
html^0.14.0+30.14.0+40.14.0+4
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.0-nullsafety.31.1.0-nullsafety.3
charcode-1.1.31.2.0-nullsafety.1
collection-1.15.0-nullsafety.31.15.0-nullsafety.3
csslib-0.16.20.16.2
meta-1.3.0-nullsafety.31.3.0-nullsafety.4
path-1.7.01.8.0-nullsafety.1
sky_engine-0.0.990.0.99
source_span-1.7.01.8.0-nullsafety.2
term_glyph-1.1.01.2.0-nullsafety.1
typed_data-1.3.0-nullsafety.31.3.0-nullsafety.3
vector_math-2.1.0-nullsafety.32.1.0-nullsafety.3

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

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

0
likes
90
pub points
25%
popularity

Flutter 加载富文本标签 flutter html 富文本标签 轻量级

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

928343994@qq.com

License

unknown (LICENSE)

Dependencies

flutter, html

More

Packages that depend on flutter_html_rich_text