window_decorations 0.9.8
window_decorations: ^0.9.8 copied to clipboard

A package which provides most of the window decorations from linux themes.

Window Decorations #

A package which provides most of the window decorations from linux themes.

materia
breeze
osx_arc
yaru

Features #

  • Easier to use and implement
  • Native looking window 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 #

GNU LESSER GENERAL PUBLIC LICENSE

13
likes
120
pub points
61%
popularity

Publisher

prateeksu.blogspot.com

A package which provides most of the window decorations from linux themes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

LGPL-3.0 (LICENSE)

Dependencies

dbus, flutter, flutter_svg, gsettings

More

Packages that depend on window_decorations