handy_window
0.4.2, released 9 months ago by ubuntu.com
Provides modern Handy-style windows with rounded bottom corners on Linux.
WASM-ready
What it does
The package replaces the default Flutter window on Linux with a libhandy‑styled window that has rounded bottom corners. It works by adjusting the native GTK code before the Flutter view is shown.
AI-written summary of version 0.4.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- Building a Flutter desktop app for Linux that should match the Ubuntu/GTK look
- Needing rounded‑corner windows without writing custom GTK code
Skip it when
- Targeting Windows, macOS, or web platforms
- Running on Linux distributions without libhandy or GLib ≥ 2.58
Strengths
- Native Ubuntu‑style appearance
- Simple Dart API – just add the dependency
- Works with recent Flutter versions
Weaknesses
- Linux‑only; no support for other desktop platforms
- Requires manual changes to C runner files
- Limited to Ubuntu 20.04+ due to libhandy version
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 0
Add handy_window to pubspec.yaml and modify linux/runner/my_application.cc (or linux/my_application.cc for older Flutter) to call fl_register_plugins before showing the window, as shown in the README.
dependencies:
handy_window: ^0.4.2
// Then edit linux/runner/my_application.cc as described in the README to register plugins before gtk_widget_show.Alternatives
Packages that do the same job and could replace handy_window.