# window_decorations 0.9.0

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




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'window_decorations:0.9.0'
```
Published: 2021-09-20T17:17:30.705618Z
Expected archive SHA-256: 158f8470441bbcf111646cdfed1058db89fa5d17db19feb33821aa2d9ca54abf
Discontinued upstream.
Available in cache; verification: upstream_checksum
## Direct dependencies
- dbus: >=0.6.3 <1.0.0
- flutter: map[sdk:flutter]
- flutter_svg: ^0.22.0
- gsettings: >=0.2.0 <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

`GNU LESSER GENERAL PUBLIC LICENSE`

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







 
