markdown_widget 1.3.0+2 copy "markdown_widget: ^1.3.0+2" to clipboard
markdown_widget: ^1.3.0+2 copied to clipboard

A new markdown package. It supports TOC function, HTML video and img tag,and it works well on both the web and mobile

236
likes
110/ 140
pub points
96%
popularity

We analyzed this package 25 hours ago, and awarded it 110 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.

OK
Provide documentation
20 / 20trigger folding of the section

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

255 out of 584 API elements (43.7 %) have documentation comments.

Some symbols that are missing documentation: a, all_tags, all_themes, blockquote, blockquote.BlockQuoteConfig.backgroundColor.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ macOS
  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:markdown_widget/markdown_widget.dart that imports:
  • package:markdown_widget/config/style_config.dart that imports:
  • package:markdown_widget/tags/all_tags.dart that imports:
  • package:markdown_widget/tags/video.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:markdown_widget/markdown_widget.dart that imports:
  • package:markdown_widget/config/style_config.dart that imports:
  • package:markdown_widget/tags/all_tags.dart that imports:
  • package:markdown_widget/tags/video.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.

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

Package not compatible with platform Web

Because:

  • package:markdown_widget/markdown_widget.dart that imports:
  • package:markdown_widget/config/style_config.dart that imports:
  • package:markdown_widget/tags/all_tags.dart that imports:
  • package:markdown_widget/tags/video.dart that imports:
  • package:video_player/video_player.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 44 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/scrollable_positioned_list/src/item_positions_listener.dart:45:17

   ╷
45 │   bool operator ==(dynamic other) {
   │                 ^^
   ╵

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

WARNING: Doc directive is missing a closing tag.

lib/scrollable_positioned_list/src/positioned_list.dart:90:7

   ╷
90 │   /// {@template flutter.widgets.scroll_view.shrinkWrap}
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/scrollable_positioned_list/src/positioned_list.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
collection ^1.16.0 1.18.0 1.18.0
flutter flutter 0.0.0 0.0.0
flutter_highlight ^0.7.0 0.7.0 0.7.0
highlight ^0.7.0 0.7.0 0.7.0
html ^0.15.0 0.15.4 0.15.4
markdown ^6.0.0 6.0.1 7.2.2
video_player ^2.4.2 2.8.6 2.8.6
video_player_web ^2.0.10 2.3.0 2.3.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
characters - 1.3.0 1.3.0
csslib - 1.0.0 1.0.0
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
term_glyph - 1.2.1 1.2.1
vector_math - 2.1.4 2.1.4
video_player_android - 2.4.14 2.4.14
video_player_avfoundation - 2.6.1 2.6.1
video_player_platform_interface - 6.2.2 6.2.2
web - 0.5.1 0.5.1

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

The constraint `^6.0.0` on markdown does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions markdown 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.

236
likes
110
pub points
96%
popularity

Publisher

verified publishermorn.fun

A new markdown package. It supports TOC function, HTML video and img tag,and it works well on both the web and mobile

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, flutter, flutter_highlight, highlight, html, markdown, video_player, video_player_web

More

Packages that depend on markdown_widget