Viewing version 1.0.0. Open the latest package page.
window_decorations
1.0.0A package which provides most of the window decorations from linux themes.
This package is discontinued upstream.
Readme
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
Changelog
1.0.0
- Bump flutter_svg version
- Update Pop os buttons
0.9.8
- Bump flutter_svg version
0.9.5
- Fix when
themeTypeis not supplied
0.9.2
- Add windowDecor object to simplify usage with
gtkpackage
0.9.1
- Made
typeproperty 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
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'window_decorations:1.0.0'pubspec.yaml
name: window_decorations
description: A package which provides most of the window decorations from linux themes.
version: 1.0.0
homepage: https://github.com/prateekmedia/window_decorations
environment:
sdk: ">=2.12.0 <3.0.0"
flutter: ">=1.17.0"
dependencies:
flutter:
sdk: flutter
dbus: ">=0.6.6 <1.0.0"
flutter_svg: ">=1.0.0 <2.0.0"
gsettings: ">=0.2.1 <1.0.0"
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^1.0.0
flutter:
assets:
- assets/themes/adwaita/
- assets/themes/ambiance/
- assets/themes/arc-dark/
- assets/themes/arc-light/
- assets/themes/breeze/
- assets/themes/flat-remix/
- assets/themes/materia-dark/
- assets/themes/materia-light/
- assets/themes/nordic/
- assets/themes/osx-arc/
- assets/themes/pop-dark/
- assets/themes/pop-light/
- assets/themes/prof-gnome/
- assets/themes/radiance/
- assets/themes/telinkrin/
- assets/themes/united-dark/
- assets/themes/united-light/
- assets/themes/unity-dark/
- assets/themes/unity-light/
- assets/themes/vertex/
- assets/themes/vimix/
- assets/themes/yaru/
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 0.1.0 | Cached · Upstream SHA-256 matched | Download | 059fc22d…85a1e8 |
| 0.1.0+1 | Cached · Upstream SHA-256 matched | Download | db5215fb…e0107c |
| 0.2.0 | Cached · Upstream SHA-256 matched | Download | fe7dbfdc…61a150 |
| 0.3.0 | Cached · Upstream SHA-256 matched | Download | 8868c9db…4d7476 |
| 0.3.0+1 | Cached · Upstream SHA-256 matched | Download | 9639e0fd…f3368f |
| 0.4.0 | Cached · Upstream SHA-256 matched | Download | c96768a2…b1246d |
| 0.5.5 | Cached · Upstream SHA-256 matched | Download | bae9856d…0585e8 |
| 0.9.0 | Cached · Upstream SHA-256 matched | Download | 158f8470…a54abf |
| 0.9.1 | Cached · Upstream SHA-256 matched | Download | 79f94efa…325908 |
| 0.9.2 | Cached · Upstream SHA-256 matched | Download | 236acb52…b51ce3 |
| 0.9.5 | Cached · Upstream SHA-256 matched | Download | a91a17fe…dc40d2 |
| 0.9.8 | Cached · Upstream SHA-256 matched | Download | 0d05b12c…fe13d7 |
| 1.0.0 | Cached · Upstream SHA-256 matched | Download | 7f371107…da93f8 |
| 2.0.0 | Cached · Upstream SHA-256 matched | Download | ac754125…8e1cb3 |
| 2.0.0+1 | Cached · Upstream SHA-256 matched | Download | 67f2f1d5…630b46 |
| 2.0.0+2 | Cached · Upstream SHA-256 matched | Download | 943c7c7a…fba238 |
| 2.0.2+1 | Cached · Upstream SHA-256 matched | Download | 7ea18d92…f5019d |
| 2.0.3 | Cached · Upstream SHA-256 matched | Download | 05232c87…2cccc5 |
Dependencies
dbus "\u003e=0.6.6 \u003c1.0.0"
flutter {
"sdk": "flutter"
}
flutter_svg "\u003e=1.0.0 \u003c2.0.0"
gsettings "\u003e=0.2.1 \u003c1.0.0"