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
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.
- cryptoflint_dart depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- uuidflint_dart depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- mimeflint_dart depends on itUtilities to resolve MIME types from file names, magic bytes, and to parse multipart streams.
- package_configflint_dart depends on itRead and write Dart package configuration files.
- watcherflint_dart depends on itMonitors file system changes and notifies when files are added, removed, or modified.
- argsflint_dart depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- dart_jsonwebtokenflint_dart depends on itA Dart library for creating, signing, decoding and verifying JSON Web Tokens (JWT).
- postgresflint_dart depends on itPostgreSQL driver for Dart supporting binary protocol, pooling and statement reuse.