Flet Documentation Structure

Overview

Flet is a Python framework for building multi-platform applications (web, desktop, mobile) without frontend experience.

API Reference Sections

  • **Controls**: UI building blocks.
  • * Examples: Button, Column, Container, TextField, ListView, Row, Stack, Image, Icon, Text, AppBar, Page. * Includes adaptive controls, base controls, and specific platform controls (e.g., Cupertino variants).
  • **Services**: Access to device and platform features.
  • * Examples: Accelerometer, Audio, Battery, Clipboard, FilePicker, Geolocator, Share, UrlLauncher.
  • **CLI**: Command-line interface for development and deployment.
  • * Commands: build, create, debug, devices, doctor, emulators, pack, publish, run, serve.
  • **Types**: Core data structures and definitions.
  • * Categories: Aliases, Base Controls, Classes (layout, animation, theming), Decorators (components, observables), Enums (options), Events (callbacks), Exceptions (Flet-specific errors), Methods (lifecycle, hooks).

    Other References

  • **Cookbook**: Practical examples and recipes.
  • **Built-in binary Python packages for Android and iOS**
  • **Environment Variables**