intro
Introduction to Fluttron
Fluttron is a Dart-native cross-platform container OS.
It is inspired by Electron, but designed for Flutter teams that want native host capabilities and web rendering flexibility without leaving Dart.
What is Fluttron?
Fluttron combines:
- Host: Flutter native app for lifecycle and service capabilities.
- Renderer: Flutter Web app running in WebView.
- Bridge: request/response IPC between Host and Renderer.
Key Features
- Web View System: Embed HTML/JS/CSS into Flutter Web with type-driven rendering.
- Event Bridge: JS→Flutter custom event communication.
- Custom Services: Extend Host with your own services.
- Web Packages: Create reusable web components and integrate them through the CLI pipeline (path/git dependencies first).
- CLI Pipeline: Create, build, and run projects with one command.
Current MVP Status
- CLI pipeline (`create/build/run`) is available.
- Template frontend build pipeline is available (`pnpm` + `esbuild`).
- Core UI library with `FluttronHtmlView`, `FluttronEventBridge`, and `FluttronWebViewRegistry`.
- Host custom service extension support with template example.
- Web Package support with dependency discovery, asset injection, and generated registrations.