FlutterImageCompressPlatform class
abstract
- Inheritance
-
- Object
- PlatformInterface
- FlutterImageCompressPlatform
- Implementers
Methods
-
compressAndGetFile(String path, String targetPath, {int minWidth = 1920, int minHeight = 1080, int inSampleSize = 1, int quality = 95, int rotate = 0, bool autoCorrectionAngle = true, CompressFormat format = CompressFormat.jpeg, bool keepExif = false, int numberOfRetries = 5})
→ Future<XFile?>
-
-
compressAssetImage(String assetName, {int minWidth = 1920, int minHeight = 1080, int quality = 95, int rotate = 0, bool autoCorrectionAngle = true, CompressFormat format = CompressFormat.jpeg, bool keepExif = false})
→ Future<Uint8List?>
-
-
compressWithFile(String path, {int minWidth = 1920, int minHeight = 1080, int inSampleSize = 1, int quality = 95, int rotate = 0, bool autoCorrectionAngle = true, CompressFormat format = CompressFormat.jpeg, bool keepExif = false, int numberOfRetries = 5})
→ Future<Uint8List?>
-
-
compressWithList(Uint8List image, {int minWidth = 1920, int minHeight = 1080, int quality = 95, int rotate = 0, int inSampleSize = 1, bool autoCorrectionAngle = true, CompressFormat format = CompressFormat.jpeg, bool keepExif = false})
→ Future<Uint8List>
-
-
ignoreCheckSupportPlatform(bool bool)
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
showNativeLog(bool value)
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited