NativeChannel class
Wrapper for MethodChannel.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fileToFile(
String src, ImageEditorOption option, String target) → Future< String> - Handle file source and get file result.
-
fileToMemory(
String path, ImageEditorOption option) → Future< Uint8List> - Handle file source and get momory result.
-
getCachePath(
) → Future< Directory> - Get the cache directory path.
-
memoryToFile(
Uint8List memory, ImageEditorOption option, String targetPath) → Future< String> - Handle memory source and get file result.
-
memoryToMemory(
Uint8List memory, ImageEditorOption option) → Future< Uint8List> - Handle memory source and get momory result.
Constants
- channel → const MethodChannel
- The channel for use native method.