markdown_widget 1.3.0+2
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
We analyzed this package 2 hours ago, and awarded it 130 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
.
10/10 points: 20% or more of the public API has dartdoc comments
263 out of 622 API elements (42.3 %) have documentation comments.
Some symbols that are missing documentation: a
, all_tags
, all_themes
, blockquote
, blockquote.BlockQuoteConfig.BlockQuoteConfig.new
.
10/10 points: Package has an example
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
0/0 points: WASM compatibility
Package not compatible with runtime wasm
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
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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 45 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
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
collection |
^1.16.0 |
1.19.1 | 1.19.1 | |
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.5+1 | 0.15.5+1 | |
markdown |
^6.0.0 |
6.0.1 | 7.3.0 | |
video_player |
^2.4.2 |
2.9.5 | 2.9.5 | |
video_player_web |
^2.0.10 |
2.3.4 | 2.3.4 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.0 | 1.4.0 | |
csslib |
- | 1.0.2 | 1.0.2 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
video_player_android |
- | 2.8.2 | 2.8.2 | |
video_player_avfoundation |
- | 2.7.1 | 2.7.1 | |
video_player_platform_interface |
- | 6.3.0 | 6.3.0 | |
web |
- | 1.1.1 | 1.1.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.