Skip to content
pubscout

quick_look

0.3.0, released 7 weeks ago by an unverified publisher

Preview local files with Apple's native Quick Look on iOS.

WASM-ready
$ flutter pub add quick_look
Source repository

What it does

Provides an interface to Apple's native QLPreviewController on iOS to preview single or multiple local files. Includes capability checks, swipe-to-dismiss control, and handles paths with special characters.

AI-written summary of version 0.3.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to preview local files like PDFs or images natively on iOS.
  • You want to allow users to swipe through a collection of local documents.

Skip it when

  • You need support for Android, Web, or desktop platforms.
  • You need to preview remote files directly via HTTP URLs without downloading them first.

Strengths

  • Uses Apple's native Quick Look controller.
  • Supports multiple files and custom dismiss controls.

Weaknesses

  • iOS only; calls on other platforms fail.
  • Requires Swift Package Manager and does not support CocoaPods.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
1

Requires Flutter 3.44+ and Dart 3.12+, Swift Package Manager enabled, and iOS 13+.

if (await QuickLook.canOpenURL(file.path)) {
  final dismissed = await QuickLook.openURL(file.path);
}

Alternatives

Packages that do the same job and could replace quick_look.