image_masking_flutter 0.0.2
image_masking_flutter: ^0.0.2 copied to clipboard
The Image Masking Flutter Plugin allows developers to create an interactive image reveal effect.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add image_masking_flutter
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
image_masking_flutter: ^0.0.2
copied to clipboard
Alternatively, 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:image_masking_flutter/image_masking_painter.dart';
import 'package:image_masking_flutter/image_masking_widget.dart';
import 'package:image_masking_flutter/single_gesture.dart';
copied to clipboard