titlebar_buttons 1.0.0 icon indicating copy to clipboard operation
titlebar_buttons: ^1.0.0 copied to clipboard

A package which provides most of the titlebar buttons from windows, linux and macos.

Titlebar buttons #

A package which provides most of the titlebar buttons from windows, linux and macos.

materia
breeze
osx_arc
yaru

Features #

  • Easier to use and implement
  • Native looking titlebar buttons for close, minimize and maximize actions

Usage #

Let's say you want a minimize button with look and feel of yaru theme, you can do that with DecoratedMinimizeButton which comes with a type property which accepts ThemeType (defaults to auto)

DecoratedMinimizeButton(
    type: ThemeType.yaru,
    onPressed: () {},
),

Similarly you can use DecoratedCloseButton for close button and DecoratedMaximizeButton for maximize button.

LICENSE #

Mozilla Public License 2.0

11
likes
130
pub points
64%
popularity

Publisher

unverified uploader

A package which provides most of the titlebar buttons from windows, linux and macos.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MPL-2.0 (LICENSE)

Dependencies

change_case, dbus, flutter, flutter_svg, gsettings

More

Packages that depend on titlebar_buttons