multi_image_crop
iOS 및 Android에서 동시에 여러 이미지를 자르는 데 사용할 수 있는 Flutter 패키지입니다.
iOS 및 Android에서 동시에 여러 이미지를 자르는 데 사용할 수 있는 Flutter 패키지입니다.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A flutter package to crop multiple images at a time on iOS and Android.
The package comes with a MultiImageCrop.startCropping() method. The method crop and filter only images.
The package is working with files to avoid passing large amount of data through method channels. Files are stored in cache folders of iOS and Android. Thus if there is a need to save actual croped image, ensure to copy the file to other location.
All of the computation intensive work is done off a main thread via dispatch queues on iOS and cache thread pool on Android.
This package use image_crop plugin, original credits goes to him. This plugin fundamentally good in our opinion. The main differences in this package include:
Note: This package is still under development, some features are not available yet and testing has been limited.
Create a method and pass list of image or a single image to crop:
MultiImageCrop.startCropping(
context: context,
aspectRatio: 4 / 3,
activeColor: Colors.amber,
pixelRatio: 3,
files: List.generate(
receivedFiles!.length, (index) => File(receivedFiles![index].path)),
callBack: (List<File> images) {
setState(() {
croppedFiles = images;
});
});
The following support channels are available at your fingertips:
This package is released under Apache 2.0 License.
의존성 목록 7 개
{"sdk":"flutter"}{"git":"https://github.com/tsafundzic/image_crop.git"}^0.2.0^3.0.1{"sdk":"flutter"}^2.0.3^5.7.2사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗