Overview of the Flet Desktop client
mainflet-desktop package provides a compiled Flutter-based Flet desktop client. It allows users to run Flet applications as native desktop applications using the Flutter engine.repository·main·Indexed 12 days ago
https://github.com/flet-dev/fletA framework for building multi-platform (mobile, desktop, and web) applications using only Python. It leverages Flutter for high-performance UI rendering, enabling developers to create interfaces without HTML, CSS, or JavaScript. Features include advanced routing with nested outlets, managed view stacks, recursive routing, and modal routes for fullscreen-dialog overlays.
flet-desktop package provides a compiled Flutter-based Flet desktop client. It allows users to run Flet applications as native desktop applications using the Flutter engine.Flet is a framework that allows you to build interactive, multi-platform applications (Web, Desktop, and Mobile) using only Python. It provides a rich set of built-in controls and services, enabling developers to create professional UIs without needing deep knowledge of frontend technologies like HTML, CSS, or JavaScript.
Key features include:
The flet-geolocator package provides geolocation services for Flet applications, built upon the Flutter geolocator package.
Key capabilities include:
flet-datatable2 is an enhanced data table component for Flet applications. It extends the built-in Flet data table by adding advanced layout features while preserving all core functionality.
Key features include:
This package is based on the Flutter data_table_2 package.
flet-web package provides a compiled Flutter-based Flet web client. It allows Flet applications to be rendered and run within a web browser environment using Flutter's web engine.The flet-permission-handler is a Flet extension based on the Flutter permission_handler package. It allows developers to manage device permissions within a Flet application.
Key capabilities include:
granted or denied).flet-spinkit is a Flet extension package that provides 30 different animated loading spinner controls. It is a Python implementation based on the flutter_spinkit Flutter package, allowing you to add various loading animations to your Flet applications.
Platform Support: This package is supported on all major platforms:
The flet-secure-storage package provides a service for safely storing sensitive key–value data by leveraging the native secure storage mechanisms of each platform:
It is powered by the Flutter flutter_secure_storage package.
The flet-map extension allows you to display interactive maps in Flet apps. It is built on top of flutter_map and supports:
Platform Support: Supported on Windows, macOS, Linux, iOS, Android, and Web.
The flet.DataTable control is used to display data in a tabular format. It supports various features including:
import flet as ft
def main(page: ft.Page):
# Example of a basic DataTable structure
dt = ft.DataTable(
columns=[
ft.DataColumn(ft.Text("Name")),
ft.DataColumn(ft.Text("Age")),
],
rows=[
ft.DataRow(
cells=[
ft.DataCell(ft.Text("Alice")),
ft.DataCell(ft.Text("25")),
],
),
],
)
page.add(dt)
ft.app(target=main)Using flet-fastapi provides several advanced capabilities for web deployment:
FilePicker control.The WebView control, powered by webview_flutter and webview_flutter_web, is available on the following platforms: