F
Flint DartDocs
GitHub
Flint Dart v 1.1.14
Hot reload ready
Typed by default
Production docs, APIs, and UI in one Dart stack

Flint Dart

The full-stack framework that feels designed, fast, and finished.

Ship routes, controllers, auth, models, OpenAPI docs, server-rendered views, and Dart-first web UI without stitching together half a stack.

Full-stackunified backend & UI
Modelsquery fluently
Deployablebuilt to ship
flint_workspace
Live build
lib/main.dart
12ms reload

import 'package:flint_dart/flint_dart.dart'; import 'package:flint_ui/flint_ui.dart'; void main() { final app = Flint(); // Render browser page with Flint UI app.get('/dashboard', (ctx) async { final users = await User().all(); return ctx.res?.page( 'DashboardPage', props: {'users': users.asMaps()}, ); }); app.listen(port: 3030); }

Ship loop
Routesgrouped and guarded
Authsessions + middleware
OpenAPIgenerated docs
Deploypublic assets ready
1 filefrom route to page
0 glueDart end to end
100%typed UI surface
Controllers, middleware, validation
Models and database workflows
Dart-first UI components
Why it feels different

Framework pieces that stay close together.

1 approutes, docs, UI
0 templateswhen Dart can render it
3 stepsinstall, create, run

Controllers

Route logic stays small and readable.

Markdown content

Docs stay editable without touching templates.

Browser UI

Interactive pages hydrate from Dart components.

Built for real full-stack work

The home page should show the framework, not a demo toy. These are the pieces teams reach for first.

HTTP

Routing and controllers

Define feature routes and keep request logic in plain Dart controllers.

DATA

Models and QueryBuilder

Use the active-record style model layer when your docs app needs persistent content.

AUTH

Guards and sessions

Protect write flows for blog posts, questions, comments, and admin actions.

DOCS

Swagger and Markdown

Serve API references, guides, changelog pages, and AI-friendly docs from clean content.

OPS

Cache, storage, mail

Reach for production utilities without pulling in a pile of unrelated packages.

UI

Flint UI browser pages

Hydrate modern Dart components on server-rendered pages when interaction matters.

Live proof

This counter is a real Flint component.

Click it and the state updates through Dart in the browser, inside the same docs page.

0
counter_proof.dartpure Dart
class CounterProof extends Component {
  int count = 0;

  @override
  View build() {
    return Row(
      children: [
        Text.span(count),
        Button(
          child: '+',
          onPressed: (_) => setState(() => count++),
        ),
      ],
    );
  }
}
Quick start

Three commands from empty folder to running app.

Copy each step as you go. Flint keeps the first path short, then the guides can fill in the details when you need them.

terminal
terminal
01

Install CLI

curl -fsSL https://flintdart.dev/install.sh | sh

02

Create app

flint create new_app

03

Run server

flint run

One framework, one structure

Routes, controllers, content, and browser UI each get their own place.

Routes

Group routes by feature and register controllers with app.controller().

Controllers

Extend Controller directly and keep request handlers easy to scan.

Content

Store docs as Markdown, then render them where the UI needs them.

UI

Use Flint UI pages for interactive docs without returning to template files.

docs_routes.dartcopy route
class DocsRoutes extends RouteGroup {
  @override
  void register(Flint app) {
    final docs = app.controller(DocsController.new);
    docs.get('/', (c) => c.home());
    docs.get('/guides/:topic', (c) => c.guidesTopic());
  }
}
FlintDart standard

Full-stack features stay organized.

Composed route groups handle API endpoints and render browser pages seamlessly. Controllers manage backend actions and return type-safe page structures directly to Flint UI components, keeping the entire lifecycle structured.

Ready path

Start with the guide, then jump into the API.

The docs now point users into Markdown-backed guides and Dart-powered pages, with no old view templates in the way.

F
Flint DartBackend framework and Dart UI docs

Build routes, controllers, APIs, docs, and browser UI from one Dart-shaped stack.

Controllers
OpenAPI
Flint UI
Copyright 2024 Flint Dart. Maintained by Eulogia Technologies.
v 1.1.14
MIT License
Built with Dart