PowerFileViewManager class
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
Static Methods
-
downloadFile(String fileUrl, String filePath, {required dynamic callback(DownloadState value), ProgressCallback? onProgress, Map<String, dynamic>? queryParameters, CancelToken? cancelToken, bool? deleteOnError, 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