MethodChannelBeautyCam class
An implementation of BeautyCamPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- BeautyCamPlatform
- MethodChannelBeautyCam
Constructors
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
-
addFilter(
String filter) → Future< void> -
添加滤镜
override
-
enableBeauty(
bool isEnableBeauty) → Future< void> -
开启或关闭美颜
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBeautyLevel(
double level) → Future< void> -
美颜程度(0~1)
override
-
setLoadImageResource(
String path) → Future< String?> -
设置图片纹理加载路径(默认存放在Caches目录)
override
-
setOuPutFilePath(
String path) → Future< String?> -
设置文件保存路径
override
-
stopVideo(
) → Future< String?> -
结束拍视频
override
-
switchCamera(
) → Future< void> -
切换相机
override
-
takePicture(
) → Future< String?> -
拍照
override
-
takeVideo(
) → Future< bool?> -
开始拍视频
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited