native_cutout 0.2.0
native_cutout: ^0.2.0 copied to clipboard
On-device background removal for Flutter. iOS Vision (iOS 17+) and Android ML Kit (model downloaded on demand). Outputs transparent PNG.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add native_cutoutThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
native_cutout: ^0.2.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:native_cutout/native_cutout.dart';