window_title 1.0.0
window_title: ^1.0.0 copied to clipboard
Set the window, browser tab and app switcher title at runtime, with a WindowTitle widget that follows your navigation.
0.1.0 #
Initial release.
setWindowTitle()andWindowTitle.basefor setting the title imperatively.- A
WindowTitlewidget that may be nested freely. The title of the widget the user is actually looking at wins, and its enclosing titles become the segments behind it. Pushing a route updates the title, popping reverts it, and off-stage routes or shell branches never compete. WindowTitle.prefix,WindowTitle.suffix,WindowTitle.overrideTitle,WindowTitle.addDecoration()and theWindowTitleDecoratorwidget for app-wide transient state such as an unread badge or a status marker.WindowTitleTicker, a ready-made prefix for a live elapsed-time clock that reads elapsed time from the wall clock rather than counting ticks, rebuilds nothing, and widens its cadence while a screen reader is driving.WindowTitle.separator,WindowTitle.maxSegmentsandWindowTitle.composerfor controlling how segments are joined.WindowTitle.currentfor observing the title the platform was given, andWindowTitle.debugComposition()for seeing why it looks the way it does.- Implementations for web, Android, iOS, Linux, macOS and Windows.