ShareWindows class

The fallback Windows implementation of SharePlatform, for older Windows versions.

Inheritance
  • Object
  • PlatformInterface
  • SharePlatform
  • ShareWindows

Constructors

ShareWindows()

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
share(String text, {String? subject, Rect? sharePositionOrigin}) Future<void>
Share text.
override
shareFiles(List<String> paths, {List<String>? mimeTypes, String? subject, String? text, Rect? sharePositionOrigin}) Future<void>
Share files.
override
shareFilesWithResult(List<String> paths, {List<String>? mimeTypes, String? subject, String? text, Rect? sharePositionOrigin}) Future<ShareResult>
Share files with Result.
inherited
shareUri(Uri uri, {Rect? sharePositionOrigin}) Future<void>
Share uri.
inherited
shareWithResult(String text, {String? subject, Rect? sharePositionOrigin}) Future<ShareResult>
Share text with Result.
inherited
shareXFiles(List<XFile> files, {String? subject, String? text, Rect? sharePositionOrigin}) Future<ShareResult>
Share XFile objects with Result.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

registerWith() → void
If the modern Share UI i.e. DataTransferManager is not available, then use this Dart class instead of platform specific implementation.