flutter_window_print 1.0.2 copy "flutter_window_print: ^1.0.2" to clipboard
flutter_window_print: ^1.0.2 copied to clipboard

PlatformWindows

Flutter Windows print dialog with live preview, layout, color/grayscale, margins, scale, and multi-page-per-sheet support for easy desktop printing integration.

Flutter Windows Print Frontend — Example App

This is a sample Flutter application demonstrating how to use flutter_windows_print_frontend to show a Chrome-like print preview dialog on Windows.

The example generates a multi-page PDF, converts each page to PNG, and then opens a customizable print dialog that displays live page previews.

✨ Features Demonstrated

• Generate a PDF using the pdf package
• Rasterize PDF pages into PNG using printing
• Display a Windows-style print preview dialog
• Show pages, title, and print settings
• Trigger print jobs using your backend printing plugin

Opening the print dialog via:

example: await showPrintDialog( context: context, pages: pages, documentTitle: 'Print Preview Document', );

📦 Dependencies dependencies: flutter: sdk: flutter flutter_window_print: 1.0.1

Contributing #

Contributions are welcome! Feel free to fork the repository, make changes, and open pull requests. If you find any issues or have suggestions for improvements, please open an issue.

License #

This package is licensed under the MIT License. See LICENSE for more information.

1
likes
140
points
46
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter Windows print dialog with live preview, layout, color/grayscale, margins, scale, and multi-page-per-sheet support for easy desktop printing integration.

Homepage

License

MIT (license)

Dependencies

flutter, flutter_windows_print

More

Packages that depend on flutter_window_print