MethodChannelPixelfree class

An implementation of PixelfreePlatform that uses method channels.

Inheritance

Constructors

MethodChannelPixelfree()

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
The method channel used to interact with the native platform.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearMakeup() → Future<int>
override
createBeautyItemFormBundle(ByteData data, PFSrcType type) → Future<void>
override
createWithLic(String licPath) → Future<void>
override
getFaceRect() → Future<List<double>>
override
getFaceSize() → Future<int>
override
getPlatformVersion() → Future<String?>
override
getVersion() → Future<String?>
override
hasFace() → Future<bool>
override
isCreate() → Future<bool>
override
jsonStringToMap(String jsonString) → Map<String, dynamic>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pixelFreeAddHLSFilter(PFHLSFilterParams params) → Future<int>
override
pixelFreeChangeHLSFilter(int handle, PFHLSFilterParams params) → Future<int>
override
pixelFreeDeleteHLSFilter(int handle) → Future<void>
override
pixelFreeSetBeautyExtend(PFBeautyFiterType type, String value) → Future<void>
override
pixelFreeSetBeautyFilterParam(PFBeautyFiterType type, double value) → Future<void>
override
pixelFreeSetBeautyTypeParam(PFBeautyFiterType type, int value) → Future<void>
override
pixelFreeSetColorGrading(PFImageColorGrading params) → Future<int>
override
pixelFreeSetFilterParam(String filterName, double value) → Future<void>
override
processWithBuffer(PFIamgeInput imageInput) → Future<void>
override
processWithImage(Uint8List imageData, int w, int h) → Future<int>
inherited
processWithImageToByteData(Uint8List imageData, int width, int height) → Future<ByteData?>
override
processWithTextrueID(int textrueID, int w, int h) → Future<int?>
override
release() → Future<void>
override
setConsoleLogEnabled(bool enabled) → Future<void>
Enable or disable console log output (does not affect file logging).
override
setDetectMode(PFFaceDetectMode mode) → Future<void>
override
setMakeupPartDegree(PFMakeupPart part, double degree) → Future<int>
override
setMakeupPath(String makeupJsonPath) → Future<int>
override
setVLogLevel(int level, String? path) → Future<void>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited