go-flutter implements Flutter’s desktop embedding API on Windows, macOS, and Linux using Go and GLFW. It enables Dart Flutter apps to run as native desktop programs with plugins.
Overview
go-flutter brings Flutter’s mobile-first engine to desktop by implementing the embedding API that Flutter expects from each host platform. Go and GLFW handle OpenGL rendering plus keyboard, mouse, and window integration.
The hover tool scaffolds projects, builds binaries, and supports hot reload on desktop targets. Supported features include method channels, plugins, UTF-8 text input, clipboard shortcuts, window icons, and distribution formats such as MSI, DMG, and AppImage.
Example applications and community plugins extend desktop Flutter with platform capabilities. Compatibility notes document required Flutter engine versions.
Developers can import go-flutter as a library into custom Go projects when they need tighter control over the embedding layer.
Key features
- Windows macOS Linux embedding
- Hot reload via hover
- Plugin and channel support
- OpenGL rendering via GLFW
- Desktop package formats
- Cross-compile with Docker
- Keyboard and clipboard support
Use cases
- Flutter apps on desktop
- Cross-platform Dart UIs
- Desktop plugins for Flutter
- Custom Go-hosted Flutter shells