flutter_link_previewer 2.6.6
flutter_link_previewer: ^2.6.6 copied to clipboard
URL preview extracted from the provided text with basic customization and ability to render from cached data.
We analyzed this package 36 hours ago, and awarded it 140 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
30 out of 31 API elements (96.8 %) have documentation comments.
Some symbols that are missing documentation: flutter_link_previewer.
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
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'canLaunch' is deprecated and shouldn't be used. Use canLaunchUrl instead.
lib/src/widgets/link_preview.dart:196:22
╷
196 │ } else if (await canLaunch(url)) {
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/link_preview.dart
INFO: 'launch' is deprecated and shouldn't be used. Use launchUrl instead.
lib/src/widgets/link_preview.dart:197:13
╷
197 │ await launch(url);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/link_preview.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_chat_types |
^3.3.4 |
3.6.2 | 3.6.2 | |
flutter_linkify |
^5.0.2 |
5.0.2 | 6.0.0 | |
html |
^0.15.0 |
0.15.6 | 0.15.6 | |
http |
^0.13.4 |
0.13.6 | 1.6.0 | |
linkify |
^4.1.0 |
4.1.0 | 5.0.0 | |
meta |
^1.7.0 |
1.17.0 | 1.18.2 | |
url_launcher |
^6.0.20 |
6.3.2 | 6.3.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
csslib |
- | 1.0.2 | 1.0.2 | |
equatable |
- | 2.0.8 | 2.0.8 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
json_annotation |
- | 4.11.0 | 4.11.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
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.29 | 6.3.29 | |
url_launcher_ios |
- | 6.4.1 | 6.4.1 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_macos |
- | 3.2.5 | 3.2.5 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.2 | 2.4.2 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^5.0.2` on flutter_linkify does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions flutter_linkify to update the constraint.
The constraint `^0.13.4` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http 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.23.12, Flutter 3.41.7, Dart 3.11.5.
Check the analysis log for details.