window_title 1.0.0 copy "window_title: ^1.0.0" to clipboard
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() and WindowTitle.base for setting the title imperatively.
  • A WindowTitle widget 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 the WindowTitleDecorator widget 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.maxSegments and WindowTitle.composer for controlling how segments are joined.
  • WindowTitle.current for observing the title the platform was given, and WindowTitle.debugComposition() for seeing why it looks the way it does.
  • Implementations for web, Android, iOS, Linux, macOS and Windows.
0
likes
155
points
1.1k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Set the window, browser tab and app switcher title at runtime, with a WindowTitle widget that follows your navigation.

Repository (GitHub)
View/report issues

Topics

#window #title #navigation #desktop #web

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, web

More

Packages that depend on window_title

Packages that implement window_title