这是indexloc提供的服务,不要输入任何密码

background 1.3.1 copy "background: ^1.3.1" to clipboard
background: ^1.3.1 copied to clipboard

A Flutter package to display images or videos as backgrounds.

29
likes
150/ 160
pub points
323
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: background,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository defines publish_to, thus, we are unable to verify the package is published from here.

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

5 out of 6 API elements (83.3 %) have documentation comments.

Some symbols that are missing documentation: background.

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 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:background/background.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:background/background.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.

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

Package not compatible with platform Web

Because:

  • package:background/background.dart that imports:
  • package:video_player/video_player.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:background/background.dart that imports:
  • package:video_player/video_player.dart that imports:
  • dart:io

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.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest Notes
video_player any 2.10.0 2.10.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
csslib - 1.0.2 1.0.2
html - 0.15.6 0.15.6
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
term_glyph - 1.2.2 1.2.2
vector_math - 2.1.4 2.2.0
video_player_android - 2.8.9 2.8.9
video_player_avfoundation - 2.8.0 2.8.0
video_player_platform_interface - 6.4.0 6.4.0
video_player_web - 2.4.0 2.4.0
web - 1.1.1 1.1.1

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

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.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
29
likes
150
points
323
downloads
screenshot

Publisher

verified publisherfarhansadikgalib.com

Weekly Downloads

A Flutter package to display images or videos as backgrounds.

Topics

#flutter #background #image #video #widget

Documentation

API reference

License

MIT (license)

Dependencies

flutter, video_player

More

Packages that depend on background