oghref_material 2.1.1 copy "oghref_material: ^2.1.1" to clipboard
oghref_material: ^2.1.1 copied to clipboard

Material themed widget for generating rich information link from URL.

140/ 160
pub points
114
downloads

We analyzed this package 9 hours ago, and awarded it 140 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

187 out of 188 API elements (99.5 %) have documentation comments.

Some symbols that are missing documentation: oghref_material.OgHrefBuilderState.OgHrefBuilderState.new.

Passed check 10/10 points: Package has an example and has no issues with screenshots

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:oghref_material/oghref_material.dart that imports:
  • package:oghref_material/src/widgets/card.dart that imports:
  • package:oghref_media_control/oghref_media_control.dart that imports:
  • package:oghref_media_control/src/playback.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/src/video/video.dart that imports:
  • package:media_kit_video/src/video/video_texture.dart that imports:
  • package:media_kit_video/src/utils/wakelock.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:oghref_material/oghref_material.dart that imports:
  • package:oghref_material/src/widgets/card.dart that imports:
  • package:oghref_media_control/oghref_media_control.dart that imports:
  • package:oghref_media_control/src/playback.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/src/video/video.dart that imports:
  • package:media_kit_video/src/video/video_texture.dart that imports:
  • package:media_kit_video/src/utils/wakelock.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:oghref_material/oghref_material.dart that imports:
  • package:oghref_material/src/widgets/card.dart that imports:
  • package:oghref_media_control/oghref_media_control.dart that imports:
  • package:oghref_media_control/src/playback.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/material.dart that imports:
  • package:volume_controller/volume_controller.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:oghref_material/oghref_material.dart that imports:
  • package:oghref_material/src/widgets/card.dart that imports:
  • package:oghref_media_control/oghref_media_control.dart that imports:
  • package:oghref_media_control/src/playback.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/material.dart that imports:
  • package:screen_brightness/screen_brightness.dart that declares support for platforms: Android, iOS, Windows, macOS.
Package does not support platform `macOS`.

Because:

  • package:oghref_material/oghref_material.dart that imports:
  • package:oghref_material/src/widgets/card.dart that imports:
  • package:oghref_media_control/oghref_media_control.dart that imports:
  • package:oghref_media_control/src/playback.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/material.dart that imports:
  • package:volume_controller/volume_controller.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:oghref_material/oghref_material.dart that imports:
  • package:oghref_material/src/widgets/card.dart that imports:
  • package:oghref_media_control/oghref_media_control.dart that imports:
  • package:oghref_media_control/src/playback.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/material.dart that imports:
  • package:screen_brightness/screen_brightness.dart that declares support for platforms: Android, iOS, Windows, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:oghref_material/oghref_material.dart that imports:
  • package:oghref_material/src/widgets/card.dart that imports:
  • package:oghref_media_control/oghref_media_control.dart that imports:
  • package:oghref_media_control/src/playback.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/src/video/video.dart that imports:
  • package:media_kit_video/src/video/video_texture.dart that imports:
  • package:media_kit_video/src/video_controller/platform_video_controller.dart that imports:
  • package:media_kit_video/src/video_controller/video_controller.dart that imports:
  • package:media_kit_video/src/video_controller/web_video_controller/web_video_controller.dart that imports:
  • package:media_kit_video/src/video_controller/web_video_controller/stub.dart that imports:
  • package:media_kit/media_kit.dart that imports:
  • package:media_kit/src/player/web/player/player.dart that imports:
  • package:media_kit/src/player/web/player/stub.dart that imports:
  • package:media_kit/src/player/platform_player.dart that imports:
  • package:media_kit/src/models/player_stream.dart that imports:
  • package:media_kit/src/models/playlist.dart that imports:
  • package:media_kit/src/models/media/media.dart that imports:
  • package:media_kit/src/models/media/media_native.dart that imports:
  • package:media_kit/src/player/native/utils/android_content_uri_provider.dart that imports:
  • package:media_kit/src/player/native/utils/isolates.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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/src/components/carousel.dart:137:46

    ╷
137 │   /// If the original [Color] applied [Color.withOpacity] already,
    │                                              ^^^^^^^^^^^
    ╵

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

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/src/components/carousel.dart:359:38

    ╷
359 │                                     .withOpacity(indication.style.opacity)),
    │                                      ^^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
media_kit ^1.1.10+1 1.1.11 1.2.0
meta ^1.12.0 1.16.0 1.17.0
oghref_builder ^4.1.3 4.1.3 4.1.3 Discontinued
oghref_media_control ^4.0.1 4.0.1 4.0.1
oghref_model ^3.5.2 3.6.0 3.6.0 Discontinued
page_view_dot_indicator ^2.3.0 2.3.0 2.3.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 89.0.0 89.0.0
analyzer - 8.2.0 8.2.0
archive - 4.0.7 4.0.7
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
build - 4.0.1 4.0.1
build_config - 1.2.0 1.2.0
characters - 1.4.0 1.4.1
checked_yaml - 2.0.4 2.0.4
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
dart_style - 3.1.2 3.1.2
dbus - 0.7.11 0.7.11
fetch_api - 2.3.1 2.3.1
fetch_client - 1.1.4 1.1.4
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
freezed_annotation - 2.4.4 3.1.0
glob - 2.1.3 2.1.3
html - 0.15.6 0.15.6
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
image - 4.5.4 4.5.4
js - 0.6.7 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.0
json_serializable - 6.11.1 6.11.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
media_kit_libs_android_video - 1.3.7 1.3.7
media_kit_libs_ios_video - 1.1.4 1.1.4
media_kit_libs_linux - 1.2.1 1.2.1
media_kit_libs_macos_video - 1.1.4 1.1.4
media_kit_libs_video - 1.0.6 1.0.6
media_kit_libs_windows_video - 1.0.11 1.0.11
media_kit_video - 1.2.5 1.3.0
mime_dart - 3.0.0 3.0.0
package_config - 2.2.0 2.2.0
package_info_plus - 9.0.0 9.0.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.3 6.0.3
pub_semver - 2.2.0 2.2.0
pubspec_parse - 1.5.0 1.5.0
safe_local_storage - 1.0.2 2.0.1
screen_brightness - 0.2.2+1 2.1.7
screen_brightness_android - 0.1.0+2 2.1.3
screen_brightness_ios - 0.1.0 2.1.2
screen_brightness_macos - 0.1.0+1 2.1.1
screen_brightness_platform_interface - 0.1.0 2.1.0
screen_brightness_windows - 0.1.3 2.1.0
source_gen - 4.0.1 4.0.1
source_helper - 1.3.8 1.3.8
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.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
universal_platform - 1.1.0 1.1.0
uri_parser - 2.0.2 3.0.0
url_launcher - 6.3.2 6.3.2
url_launcher_android - 6.3.23 6.3.23
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
uuid - 4.5.1 4.5.1
vector_math - 2.2.0 2.2.0
volume_controller - 2.0.8 3.4.0
wakelock_plus - 1.4.0 1.4.0
wakelock_plus_platform_interface - 1.3.0 1.3.0
watcher - 1.1.4 1.1.4
web - 0.5.1 1.1.1
win32 - 5.14.0 5.14.0
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.3

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • oghref_builder
  • oghref_model.

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

Passed check 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.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
140
points
114
downloads
screenshot

Publisher

verified publisherrk0cc.xyz

Weekly Downloads

Material themed widget for generating rich information link from URL.

Repository (GitHub)
View/report issues

Topics

#web #link #graph #http #material

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter, media_kit, meta, oghref_builder, oghref_media_control, oghref_model, page_view_dot_indicator

More

Packages that depend on oghref_material