window_decorations 2.0.3 window_decorations: ^2.0.3 copied to clipboard
Deprecated, use https://pub.dev/packages/titlebar_buttons
Window Decorations #
A package which provides most of the window decorations from linux themes.
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 #
Mozilla Public License 2.0