# window_decorations 2.0.3

Deprecated, use https://pub.dev/packages/titlebar_buttons




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add window_decorations
```
Published: 2022-02-17T18:20:42.752023Z
Expected archive SHA-256: 05232c8738aa05f18da706a1ff8da340fe0f952ba75de603f14a5a99782cccc5
Discontinued upstream.
Available in cache; verification: upstream_checksum
## Direct dependencies
- change_case: >=1.0.1 < 2.0.0
- dbus: >=0.7.1 <1.0.0
- flutter: map[sdk:flutter]
- flutter_svg: >=1.0.0 <2.0.0
- gsettings: >=0.2.5 <1.0.0

## Package README (untrusted upstream documentation)
## Window Decorations

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

![materia](https://user-images.githubusercontent.com/41370460/130425898-8967115b-ba44-4d9a-8fc6-c63f878074c1.png)  
![breeze](https://user-images.githubusercontent.com/41370460/130425904-0ac93a49-578f-4f6b-8dc1-dd64e57edf0b.png)  
![osx_arc](https://user-images.githubusercontent.com/41370460/130425907-ba7321f9-fc87-4542-9197-0336e727d5a3.png)  
![yaru](https://user-images.githubusercontent.com/41370460/130425920-a8f7cffd-0a66-4117-8617-1a17323669a6.png)


## 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)

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

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

## LICENSE

`Mozilla Public License 2.0`

## Changelog
# Changelog

## 2.0.3

* Deprecated, use https://pub.dev/packages/titlebar_buttons

## 2.0.2+1

* Fix README

## 2.0.2

* Relicense under MPL-2.0

## 2.0.0+2

* Fix windowDecor logic

## 2.0.0+1

* Fix support with libadwaita
* Try to support all platforms

## 2.0.0

* Remove old svg's
* Support all platforms

## 1.0.0

* Bump flutter_svg version
* Update Pop os buttons

## 0.9.8

* Bump flutter_svg version

## 0.9.5

* Fix when `themeType` is not supplied

## 0.9.2

* Add windowDecor object to simplify usage with `gtk` package

## 0.9.1

* Made `type` property nullable for buttons

## 0.9.0

* Update gsettings

## 0.5.5

* Update README
* Update License

## 0.4.0

* Changed cursor back to normal position
* Format decorated button file

## 0.3.0+1

* Dispose Settings after used.

## 0.3.0

* Add Theme type auto detect mode.

## 0.2.0

* Switch b/w light and dark variants of buttons automatically.
* Update Documentation

## 0.1.0+1

* Update README

## 0.1.0

* Init Release







 
