youtube_box_thumbnail 1.0.1
youtube_box_thumbnail: ^1.0.1 copied to clipboard
Package used to display video thumbnail box from youtube
We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):
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.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 18 API elements (11.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.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: youtube_box_thumbnail
, youtube_box_thumbnail.YoutubeBoxThumbnail
, youtube_box_thumbnail.YoutubeBoxThumbnail.YoutubeBoxThumbnail
, youtube_box_thumbnail.YoutubeBoxThumbnail.decoration
, youtube_box_thumbnail.YoutubeBoxThumbnail.error
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: A value for optional parameter 'key' isn't ever given.
lib/youtube_box_thumbnail.dart:115:31
╷
115 │ const _LoadingWidget({super.key});
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/youtube_box_thumbnail.dart
INFO: A value for optional parameter 'key' isn't ever given.
lib/youtube_box_thumbnail.dart:147:36
╷
147 │ const _YoutubeVideoWidget({super.key, required this.youtubeVideo});
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/youtube_box_thumbnail.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
http |
any |
1.2.2 | 1.2.2 |
url_launcher |
any |
6.3.0 | 6.3.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.19.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http_parser |
- | 4.0.2 | 4.1.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.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 |
string_scanner |
- | 1.3.0 | 1.3.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
url_launcher_android |
- | 6.3.10 | 6.3.10 |
url_launcher_ios |
- | 6.3.1 | 6.3.1 |
url_launcher_linux |
- | 3.2.0 | 3.2.0 |
url_launcher_macos |
- | 3.2.0 | 3.2.0 |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 |
url_launcher_web |
- | 2.3.3 | 2.3.3 |
url_launcher_windows |
- | 3.1.2 | 3.1.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.0.0 | 1.0.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
URI_DOES_NOT_EXIST
-lib/youtube_box_thumbnail.dart:5:8
- Target of URI doesn't exist: 'package:url_launcher/url_launcher_string.dart'.UNDEFINED_METHOD
-lib/youtube_box_thumbnail.dart:153:15
- The method 'launchUrlString' isn't defined for the type '_YoutubeVideoWidget'.UNDEFINED_METHOD
-lib/youtube_box_thumbnail.dart:215:15
- The method 'launchUrlString' isn't defined for the type '_ErrorWidget'.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.12
, Flutter 3.24.1
, Dart 3.5.1
.
Check the analysis log for details.