Skip to content

Building and running

Flet extensions include native Flutter code, so the extension must be included in the client before the viewer can render.

Build the example

cd examples/flet_image_viewer_example
flet build windows
flet run

Replace windows with another supported target such as macos, linux, apk, or ipa.

Rebuild after changing the extension's Dart code. Python-only changes can be run again without rebuilding the native extension.

Demo video

Watch the sample demo video to see the image viewer and gallery in action.