MethodChannelFileLauncher class
Native method-channel implementation of FileLauncherPlatform.
- Inheritance
-
- Object
- PlatformInterface
- FileLauncherPlatform
- MethodChannelFileLauncher
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
Channel used to communicate with Android and iOS.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearCache(
) → Future< bool> -
Deletes the copies this plugin created. Returns whether it succeeded.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
String filePath, {String? title, String? mimeType, bool showAppChooser = false, }) → Future< OpenFileResult> -
Opens a local file using native presentation.
override
-
openBytes(
Uint8List bytes, {required String fileName, String? title, String? mimeType, bool showAppChooser = false, }) → Future< OpenFileResult> -
Writes
bytesto a private cache file namedfileName, then opens it.override -
Presents the system share sheet for a local file.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited