helpers/compress_image library

Functions

compressImageHelper(File file, {int maxSize = 10 * 1024 * 1024}) Future<File?>
Compress image and return new file
compressVideoHelper(File file, {bool compressVideo = false, int maxSize = 10 * 1024 * 1024}) Future<File?>