PowerFileViewManager class

Constructors

PowerFileViewManager()

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 Properties

engineDownloadStream Stream<int>
no setter
engineInitStream Stream<EngineState>
no setter
logEnable bool
getter/setter pair
platformVersion Future<String?>
no setter

Static Methods

downloadFile(String fileUrl, String filePath, {required dynamic callback(DownloadState value), ProgressCallback? onProgress, Map<String, dynamic>? queryParameters, CancelToken? cancelToken, bool? deleteOnError, String? lengthHeader, dynamic data, Options? options}) Future<void>
engineState() Future<EngineState?>
Get the engine status in real time, this method is only valid for Andorid platform, iOS does not need to call
getFileSize(String fileUrl, {dynamic data, Map<String, dynamic>? queryParameters, CancelToken? cancelToken, Options? options}) Future<int?>
initEngine() Future<void>
Initialize the engine, this method is only valid for the Andorid platform, iOS does not need to call
initLogEnable(bool log, bool pluginLog) Future<void>
Whether to display the log enable: whether to display the Log of flutter pluginEnable: whether to display the Log of the native platform
resetEngine() Future<void>
Resets the engine state, and then initializes the engine