Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gtk-flutter/titlebar_buttons
A package which provides most of the window decorations from linux themes.
https://github.com/gtk-flutter/titlebar_buttons
adwaita dart flutter gtk hacktoberfest linux pop-os themes titlebar-buttons windows yaru
Last synced: 3 months ago
JSON representation
A package which provides most of the window decorations from linux themes.
- Host: GitHub
- URL: https://github.com/gtk-flutter/titlebar_buttons
- Owner: gtk-flutter
- License: mpl-2.0
- Created: 2021-08-08T19:13:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-13T02:31:12.000Z (about 2 years ago)
- Last Synced: 2024-05-18T22:54:31.892Z (8 months ago)
- Topics: adwaita, dart, flutter, gtk, hacktoberfest, linux, pop-os, themes, titlebar-buttons, windows, yaru
- Language: Dart
- Homepage: https://pub.dev/packages/titlebar_buttons
- Size: 144 KB
- Stars: 29
- Watchers: 0
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## Titlebar buttons
A package which provides most of the titlebar buttons from windows, linux and macos.
![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 titlebar 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`