tomeui_desktop 0.3.5
tomeui_desktop: ^0.3.5 copied to clipboard
The desktop window behind Tome UI: the window_manager-backed WindowShell that gives TitleBar a real window to drag, maximise, and close.
TomeUI Desktop #
Native window controls for TomeUI, backed by
window_manager. Supports Linux, macOS, and Windows.
Installation #
flutter pub add tomeui tomeui_desktop
Usage #
Install the window adapter before claiming the window and starting the app:
import 'package:tomeui/tomeui.dart';
import 'package:tomeui_desktop/tomeui_desktop.dart';
Future<void> main() async {
installWindowShell();
await TitleBar.claimWindow();
runApp(const TomeApp(
home: Scaffold(body: Center(child: Text('Hello, TomeUI'))),
));
}
TomeUI's TitleBar uses the installed adapter for dragging and window controls.
Applications that do not need native desktop window management can depend on
tomeui alone.
License #
MIT, copyright © 2026 Chris Hendrickson.