Focused reference for Flint Dart and Flint UI APIs, with copyable examples and practical notes.
Flint
Application root that wires routes, middleware, static assets, WebSockets, and server lifecycle.
A Flint instance is the entry point for your server. It registers HTTP routes, WebSocket endpoints, mounts route groups, and controls server startup with optional hot reload and auto-connect services.
Register HTTP routes using Context handlers (or legacy handlers) with optional route-level middleware via RouteBuilder.useMiddleware.
query(...) registers an HTTP QUERY route. QUERY is safe and idempotent like GET, but can carry request content for complex search or filter expressions.