head_image_cropper 3.1.0 head_image_cropper: ^3.1.0 copied to clipboard
A picture cutting part of flutter, which supports square picture and round picture preview. Suitable for fixed size image clipping. Such as cutting the head
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add head_image_cropper
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
head_image_cropper: ^3.1.0
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:head_image_cropper/head_image_cropper.dart';