tomeui_desktop library
The desktop window behind Tome UI.
Tome itself never touches package:window_manager; it talks to
WindowShell.instance, which is a NoWindow until something better is
installed. This package is the something better — one call in main
puts the real window behind every TitleBar:
Future<void> main() async {
installWindowShell();
await TitleBar.claimWindow();
runApp(const App());
}
Classes
- WindowManagerShell
-
WindowShelloverpackage:window_manager.
Functions
-
installWindowShell(
) → void -
Install the
window_manager-backedWindowShellas the one Tome talks to. Call before runApp; idempotent.