Skip to content

Types#

Explore the shared building blocks that power Flet apps: aliases, base controls, reusable classes, enums, events, and exceptions.

  • Aliases - shorthand names and conveniences for common patterns.
  • Base Controls - foundational control types to extend and compose.
  • Classes - core data structures (layout, animation, theming, platform info, and more).
  • Decorators - helpers for defining components, controls, and observables.
  • Enums - constant sets that define options for controls and services.
  • Events - callback payloads emitted by controls and services.
  • Exceptions - Flet-specific error types for diagnostics and handling.
  • Methods - utilities for lifecycle, hooks, and component state.