WebF is a W3C/WHATWG-compliant web runtime for Flutter that implements HTML, CSS, and the DOM, running JavaScript in a browser-like environment. It's not a browser—it's an application runtime optimized for building native apps using web technologies.
Unlike traditional WebViews, WebF features:
A custom Flutter-based rendering engine rather than relying on system browsers
Direct JavaScript-to-native communication without traditional bridge limitations
Ability to embed Flutter widgets as HTML elements within the app UI
An application-first design with a persistent JavaScript context
Why WebF?
Build Fast. Ship Fast. Run Fast.
WebF seamlessly glues Web, Flutter, and Native platforms together, enabling you to:
** Build Fast:** Develop with React, Vue, Svelte, Solid + TailwindCSS, build with Vite or Webpack, and leverage the entire npm ecosystem - it all just works in WebF
** Ship Fast:** Deploy once across all Flutter-supported platforms (iOS, Android, Windows, macOS, Linux) from a single codebase
⚡ Run Fast: Experience native-like performance with sub-100ms cold starts and 60fps animations that outpaces traditional WebView solutions
Key Features
Web Standards Compliance
** Modern JavaScript (ES6+)** - QuickJS runtime with async/await, Promises, modules, optional chaining, and template literals
** Essential DOM APIs** - Element creation/manipulation, event listeners (capture/bubble), query selectors, classList, custom elements, MutationObserver
Hardware-Accelerated Rendering - Direct integration with Flutter's rendering pipeline
No System Dependencies - Independent of system WebViews or browser engines
Rendering Pipeline
JavaScript Execution → Modifies the DOM
CSS Calculation → Rules are calculated and applied
Layout → Element positions and sizes determined
Paint → Visual representation created
Composite → Flutter widgets composite the final output
Key Optimization: WebF tracks "dirty" nodes to recalculate only affected subtrees (similar to React's reconciliation), and batches DOM updates to process them in the next frame, preventing layout thrashing.
Performance Benefits
Native-Like Speed - No WebView overhead, runs directly on Flutter's rendering pipeline
Fast Startup - Sub-100ms cold starts with lightweight runtime
Optimized Memory - Efficient resource usage with shared rendering context
Smooth Animations - 60fps/120fps performance across all platforms
Dedicated Thread - JavaScript runs in a dedicated thread without blocking UI
Getting Started
For Web Developers
Get started quickly using WebF Go - a preview app that lets you test WebF applications on real devices without building a custom Flutter app.