metalink_flutter 1.0.2
metalink_flutter: ^1.0.2 copied to clipboard
Flutter UI components for link previews using the MetaLink package
We analyzed this package 2 days ago, and awarded it 150 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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
420 out of 425 API elements (98.8 %) have documentation comments.
Some symbols that are missing documentation: metalink_flutter.ImageResolver.ImageResolver.new
, metalink_flutter.MetadataCacheFactory.MetadataCacheFactory.new
, metalink_flutter.MetadataFlutterCacheFactory.MetadataFlutterCacheFactory.new
, metalink_flutter.SimpleMetaLink.SimpleMetaLink.new
, metalink_flutter.UrlDetector.UrlDetector.new
.
10/10 points: Package has an example and has no issues with screenshots
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:metalink_flutter/metalink_flutter.dart
that imports:package:metalink_flutter/src/widgets/link_preview_skeleton.dart
that imports:package:metalink_flutter/src/themes/link_preview_theme.dart
that imports:package:metalink_flutter/src/themes/link_preview_theme_data.dart
that imports:package:flutter_helper_utils/flutter_helper_utils.dart
that imports:package:flutter_helper_utils/src/src.dart
that imports:package:flutter_helper_utils/src/value_notifier/value_notifier.dart
that imports:package:flutter_helper_utils/src/value_notifier/extensions/extensions.dart
that imports:package:flutter_helper_utils/src/value_notifier/extensions/notifier_extensions.dart
that imports:package:dart_helper_utils/dart_helper_utils.dart
that imports:package:dart_helper_utils/src/src.dart
that imports:package:dart_helper_utils/src/other_utils/other_utils.dart
that imports:package:dart_helper_utils/src/other_utils/string_similarity.dart
that imports:dart:isolate
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:metalink_flutter/metalink_flutter.dart
that imports:package:metalink_flutter/src/widgets/link_preview_skeleton.dart
that imports:package:metalink_flutter/src/themes/link_preview_theme.dart
that imports:package:metalink_flutter/src/themes/link_preview_theme_data.dart
that imports:package:flutter_helper_utils/flutter_helper_utils.dart
that imports:package:flutter_helper_utils/src/src.dart
that imports:package:flutter_helper_utils/src/value_notifier/value_notifier.dart
that imports:package:flutter_helper_utils/src/value_notifier/extensions/extensions.dart
that imports:package:flutter_helper_utils/src/value_notifier/extensions/notifier_extensions.dart
that imports:package:dart_helper_utils/dart_helper_utils.dart
that imports:package:dart_helper_utils/src/src.dart
that imports:package:dart_helper_utils/src/other_utils/other_utils.dart
that imports:package:dart_helper_utils/src/other_utils/string_similarity.dart
that imports:dart:isolate
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 25 issues. Showing the first 2:
INFO: 'addOpacity' is deprecated and shouldn't be used. Use setOpacity() instead. Will be removed in the future.
lib/src/themes/link_preview_theme_data.dart:87:38
╷
87 │ color: colorScheme.onSurface.addOpacity(0.7),
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/themes/link_preview_theme_data.dart
INFO: 'addOpacity' is deprecated and shouldn't be used. Use setOpacity() instead. Will be removed in the future.
lib/src/themes/link_preview_theme_data.dart:93:38
╷
93 │ color: colorScheme.onSurface.addOpacity(0.6),
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/themes/link_preview_theme_data.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
equatable |
^2.0.7 |
2.0.7 | 2.0.7 | |
flutter_helper_utils |
>=7.0.1 <9.0.0 |
8.5.0 | 8.5.0 | |
hive_ce_flutter |
^2.2.0 |
2.3.2 | 2.3.2 | |
http |
^1.3.0 |
1.5.0 | 1.5.0 | |
metalink |
^1.0.4 |
1.0.4 | 1.0.4 | |
url_launcher |
^6.3.1 |
6.3.2 | 6.3.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dart_helper_utils |
- | 5.4.0 | 5.4.0 | |
ffi |
- | 2.1.4 | 2.1.4 | |
hive_ce |
- | 2.13.2 | 2.13.2 | |
html |
- | 0.15.6 | 0.15.6 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
isolate_channel |
- | 0.2.2+1 | 0.2.2+1 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.18 | 2.2.18 | |
path_provider_foundation |
- | 2.4.2 | 2.4.2 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.22 | 6.3.22 | |
url_launcher_ios |
- | 6.3.4 | 6.3.4 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.3 | 3.2.3 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.23
, Flutter 3.35.3
, Dart 3.9.2
.
Check the analysis log for details.