flutter_customizable_image_croppper 0.1.7 copy "flutter_customizable_image_croppper: ^0.1.7" to clipboard
flutter_customizable_image_croppper: ^0.1.7 copied to clipboard

Flutter customizable image cropper widget

Flutter Customizable Image Croppper #

Why You Use This Package ? #

  • The shape of the cropper widget is not fixed, instead you can make it any way you want.
  • This allows you to crop the image wherever you want, however you want.

Features #

  • It helps you crop the picture as you want.
  • Multi image type support.

Usage #


First create a sample the CropController.

CropController cropController =  CropController(
  imageType: ImageType.url,
  image: "https://picsum.photos/id/234/200/200",
);

Second set the created sample controller in the 'CustomizableImageCropper' widget properties.

CustomizableImageCropper(controller: cropController),

After this steps, call 'crop()' method the cropController's in the your wanna click or tap event method.


ElevatedButton(
  child: Text("Save"),
  onPressed: () async {
    await cropController.crop();
  },
),

Finally find the croped image in the 'cropedImageFile' properties in the cropController's


ElevatedButton(
  child: Text("Save"),
  onPressed: () async {
    await cropController.crop();
    print(cropController.cropedImageFile);
  },
),

2
likes
115
points
36
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter customizable image cropper widget

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, path_provider

More

Packages that depend on flutter_customizable_image_croppper