QuickLookApi class

Constructors

QuickLookApi.new({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
Constructor for QuickLookApi. The binaryMessenger named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.

Properties

hashCode int
The hash code for this object.
no setterinherited
pigeonVar_binaryMessenger BinaryMessenger?
final
pigeonVar_messageChannelSuffix String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canOpenURL(String url) Future<bool>
Returns whether iOS QuickLook supports the saved at url file type (and can preview it) or not
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openURL(String url, {bool isDismissable = true}) Future<bool>
Opens file saved at url in iOS QuickLook
openURLs({required List<String> resourceURLs, int initialIndex = 0, bool isDismissable = true}) Future<bool>
Opens files saved at resourceURLs in iOS QuickLook (user can swipe between them)
toString() String
A string representation of this object.
inherited

Operators

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

Constants

pigeonChannelCodec → const MessageCodec<Object?>