simple_url_preview 3.0.1 copy "simple_url_preview: ^3.0.1" to clipboard
simple_url_preview: ^3.0.1 copied to clipboard

Flutter package to show url preview. Custamizable height, background and text styles, as well as lines.

60/ 160
pub points
138
downloads

We analyzed this package 23 hours ago, and awarded it 60 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

22 out of 32 API elements (68.8 %) have documentation comments.

Some symbols that are missing documentation: preview_description, preview_description.PreviewDescription.PreviewDescription.new, preview_image, preview_image.PreviewImage.PreviewImage.new, preview_site_name.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

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

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 6 issues. Showing the first 2:

ERROR: The getter 'accentColor' isn't defined for the type 'ThemeData'.

lib/simple_url_preview.dart:174:54

    ╷
174 │         widget.imageLoaderColor ?? Theme.of(context).accentColor;
    │                                                      ^^^^^^^^^^^
    ╵

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

ERROR: The getter 'accentColor' isn't defined for the type 'ThemeData'.

lib/simple_url_preview.dart:244:56

    ╷
244 │                               color: Theme.of(context).accentColor,
    │                                                        ^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
cached_network_image ^3.0.0 3.3.1 3.4.1
collection ^1.15.0 1.19.1 1.19.1
html ^0.15.0 0.15.6 0.15.6
http ^0.13.3 0.13.6 1.6.0
string_validator ^0.3.0 0.3.0 1.2.0
url_launcher ^6.0.6 6.3.2 6.3.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
cached_network_image_platform_interface - 4.0.0 4.1.1
cached_network_image_web - 1.2.0 1.3.1
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.3.1 3.4.1
glob - 2.1.3 2.1.3
hooks - 1.0.2 1.0.2
http_parser - 4.1.2 4.1.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
native_toolchain_c - 0.17.5 0.17.5
objective_c - 9.3.0 9.3.0
octo_image - 2.1.0 2.1.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.6.0 2.6.0
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
pub_semver - 2.2.0 2.2.0
rxdart - 0.27.7 0.28.0
source_span - 1.10.2 1.10.2
sqflite - 2.4.2 2.4.2
sqflite_android - 2.4.2+3 2.4.2+3
sqflite_common - 2.5.6 2.5.6
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.28 6.3.28
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
uuid - 4.5.3 4.5.3
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

The constraint `^0.13.3` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http to update the constraint.

The constraint `^0.3.0` on string_validator does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions string_validator to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 4 errors:

  • UNDEFINED_GETTER - lib/simple_url_preview.dart:174:54 - The getter 'accentColor' isn't defined for the type 'ThemeData'.
  • UNDEFINED_GETTER - lib/simple_url_preview.dart:244:56 - The getter 'accentColor' isn't defined for the type 'ThemeData'.
  • UNDEFINED_GETTER - lib/simple_url_preview.dart:253:54 - The getter 'accentColor' isn't defined for the type 'ThemeData'.

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.23.10, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
77
likes
60
points
138
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter package to show url preview. Custamizable height, background and text styles, as well as lines.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

cached_network_image, collection, flutter, html, http, string_validator, url_launcher

More

Packages that depend on simple_url_preview