flutterbackgroundremover 0.0.1 copy "flutterbackgroundremover: ^0.0.1" to clipboard
flutterbackgroundremover: ^0.0.1 copied to clipboard

Effortlessly remove backgrounds from images in your Flutter app with Background Remover. This cross-platform Flutter package leverages Apple Vision Selfie on macOS and Google ML Kit Selfie Segmentatio [...]

8
likes
120/ 160
pub points
74%
popularity

We analyzed this package 4 days ago, and awarded it 120 pub points (of a possible 160):

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

0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

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: Apache-2.0.

failed
Provide documentation
0 / 20trigger folding of the section

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

0 out of 5 API elements (0.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: flutterbackgroundremover, flutterbackgroundremover.FlutterBackgroundRemover, flutterbackgroundremover.FlutterBackgroundRemover.removeBackground, flutterbackgroundremover.FlutterBackgroundRemover.removeBackgroundFromImage, flutterbackgroundremover.FlutterBackgroundRemover.visionController.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:flutterbackgroundremover/backgroundremover.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:flutterbackgroundremover/backgroundremover.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:flutterbackgroundremover/backgroundremover.dart that declares support for platforms: Android, iOS, macOS.

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:flutterbackgroundremover/backgroundremover.dart that imports:
  • package:flutterbackgroundremover/src/background_remover.dart that imports:
  • package:apple_vision_selfie/apple_vision_selfie.dart that declares support for platforms: macOS.
Package does not support platform `iOS`.

Because:

  • package:flutterbackgroundremover/backgroundremover.dart that imports:
  • package:flutterbackgroundremover/src/background_remover.dart that imports:
  • package:apple_vision_selfie/apple_vision_selfie.dart that declares support for platforms: macOS.
Package does not support platform `macOS`.

Because:

  • package:flutterbackgroundremover/backgroundremover.dart that imports:
  • package:flutterbackgroundremover/src/background_remover.dart that imports:
  • package:google_mlkit_selfie_segmentation/google_mlkit_selfie_segmentation.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutterbackgroundremover/backgroundremover.dart that imports:
  • package:flutterbackgroundremover/src/background_remover.dart that imports:
  • package:google_mlkit_selfie_segmentation/google_mlkit_selfie_segmentation.dart that imports:
  • package:google_mlkit_selfie_segmentation/src/selfie_segmenter.dart that imports:
  • package:google_mlkit_commons/google_mlkit_commons.dart that imports:
  • package:google_mlkit_commons/src/input_image.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.

OK
Pass static analysis
50 / 50trigger folding of the section

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
apple_vision_selfie 0.0.2 0.0.2 0.0.5
flutter flutter 0.0.0 0.0.0
google_mlkit_selfie_segmentation 0.6.0 0.6.0 0.9.0
image ^4.1.4 4.3.0 4.3.0
Transitive dependencies
Package Constraint Compatible Latest
apple_vision_commons - 0.0.3 0.0.3
archive - 3.6.1 3.6.1
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
google_mlkit_commons - 0.6.1 0.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
sky_engine - 0.0.99 0.0.99
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
xml - 6.5.0 6.5.0

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

The constraint `0.0.2` on apple_vision_selfie does not support the stable version `0.0.3`.

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

The constraint `0.6.0` on google_mlkit_selfie_segmentation does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions google_mlkit_selfie_segmentation 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.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

8
likes
120
pub points
74%
popularity

Publisher

verified publisheralihassan143cool.blogspot.com

Effortlessly remove backgrounds from images in your Flutter app with Background Remover. This cross-platform Flutter package leverages Apple Vision Selfie on macOS and Google ML Kit Selfie Segmentation on Android and iOS to deliver efficient background removal. The package provides a simple API for developers, making it easy to integrate this powerful feature into your applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

apple_vision_selfie, flutter, google_mlkit_selfie_segmentation, image

More

Packages that depend on flutterbackgroundremover