Skip to content
pubscout

flint_dart

1.5.9, released 3 days ago by flintdart.eulogia.net

Full‑stack Dart framework for building server, UI, and APIs in pure Dart

$ flutter pub add flint_dart
Source repository

What it does

Flint Dart provides a unified framework that includes a high‑performance HTTP server, declarative web UI components, an Active Record ORM, WebSocket support, and AI runtime. It allows developers to write both backend logic and frontend UI in a single language with zero JavaScript build tools.

AI-written summary of version 1.5.6, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a single‑language full‑stack solution for web apps
  • You want server‑side rendering and SEO out of the box
  • You want built‑in ORM and real‑time WebSocket support
  • You prefer declarative UI syntax similar to Flutter

Skip it when

  • You only need a lightweight HTTP client or simple API server
  • You are building a mobile‑only app
  • You require extensive third‑party plugin ecosystem beyond what Flint offers

Strengths

  • Unified pure‑Dart stack with no JS/CSS build tools
  • Built‑in declarative UI and SSR for SEO
  • Active Record ORM with migrations and tenant support
  • Real‑time WebSocket and AI runtime built in

Weaknesses

  • Large monolithic package, may be overkill for small projects
  • Limited community and ecosystem compared to mainstream frameworks
  • Documentation still evolving

Setup

Kind
Pure Dart
Effort
Medium
Code generation
No
Direct dependencies
17

Add dependency via `dart pub add flint_dart`, run `dart pub global activate flint_dart` for CLI, then `flint create my_app` or add to existing project. No build_runner needed.

```dart
import 'package:flint_dart/flint_dart.dart';

void main() async {
  final app = Flint();
  app.get('/', (ctx) => ctx.res?.text('Hello Flint'));
  await app.listen(port: 3000);
}
```

Alternatives

Packages that do the same job and could replace flint_dart.

Works with

Packages commonly used together with flint_dart: ones it builds on, ones built on it, and its own family.