MethodChannelFlutterKitFileOpen class
An implementation of FlutterKitFileOpenPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterKitFileOpenPlatform
- MethodChannelFlutterKitFileOpen
Constructors
Properties
- eventChannel → EventChannel
-
final
-
fileStream
→ Stream<
OpenFileResult> -
方式1: 运行中接收文件
no setteroverride
- 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
-
getFiles(
) → Future< OpenFileResult?> -
方式 2:冷启动兜底(拉取)
override
-
getPlatformVersion(
) → Future< String?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
receiveFileUri(
dynamic callback(dynamic)) → void -
方式3: flutter 以回调方式,接受原生平台 android,ios 传递的文件
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited