Search the site
GETTING STARTED
For an existing Flutter app, run dartvel init to adopt Dartvel without replacing its router.
Generating artifacts that a Kotlin, Swift, desktop or browser host embeds is planned. The adoption command does not generate an add-to-app host.
ON THIS PAGE
Adopt an existing Flutter application today
Planned native host integration
dartvel init
dartvel devCopy code to clipboard
init adds Dartvel to a Flutter project, and dartvel dev generates the client. Keep its router or adopt file-based pages. A Dartvel application can also mount another Dartvel application with dartvel add.
dartvel add ../checkoutCopy code to clipboard
Planned
Not yet implemented: a build mode that produces Android AARs, Apple frameworks, desktop host libraries or browser custom elements with generated host APIs.
Typed mount, unmount and message APIs for native hosts.
Host back navigation, lifecycle and verified session hand-off.
Multiple projects in a host, with version compatibility checks and isolated or shared engine arrangements.
Vendor embedder integration for TV and embedded hosts.
These design goals are planned. The APIs and commands an application can use today are described above. The Brownfield section in NEW_SPEC.md records the draft design.
FSL-1.1-MIT licensed. Built with Dartvel.
Dartvel is made by
To the bottom