# window_decorations 0.4.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.4.0'
```
Published: 2021-08-21T11:36:06.657074Z
Expected archive SHA-256: c96768a2a8d50241e1a262e1dc2d0b2d9c14dd2ffd6fa0fee274774998b1246d
Discontinued upstream.
Available in cache; verification: upstream_checksum
## Direct dependencies
- flutter: map[sdk:flutter]
- flutter_svg: ^0.22.0
- gsettings: >=0.1.2+1 <1.0.0

## Package README (untrusted upstream documentation)
## 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
<!-- ## Getting started

TODO: List prerequisites and provide or point to information on how to
start using the package. -->

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

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

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

## Additional information

- This package is GPL-3.0 licensed due to the fact that it uses various GPL-3 themes buttons.

## Changelog
## 0.4.0 - [21-Aug-2021]

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

## 0.3.0+1 - [09-Aug-2021]

* Dispose Settings after used.

## 0.2.3 - [09-Aug-2021]

* Add Theme type auto detect mode.

## 0.2.0 - [09-Aug-2021]

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

## 0.1.0+1 - [09-Aug-2021]

* Update README

## 0.1.0 - [08-Aug-2021]

* Init Release







 
