ScreenshotCallback class
@FileName: flutter_screenshot_callback.dart @Author: zhaozhebin @Date: 2021/3/5 @Description: 两个Flutter调用原生方法:开始监听、停止监听 两个原生调用Flutter方法:截图成功回调、没有权限回调
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onCallbacks
↔ List<
IScreenshotCallback> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
methodCallHandler(
MethodCall call) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setInterfaceScreenshotCallback(
IScreenshotCallback iScreenshotCallback) → void -
startScreenshot(
) → void -
stopScreenshot(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- FLUTTER_START_SCREENSHOT → const String
- Flutter调用原生方法
- FLUTTER_STOP_SCREENSHOT → const String
- NATIVE_DENIED_PERMISSION → const String
- NATIVE_SCREENSHOT_CALLBACK → const String
- 原生调用Flutter的方法