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: about 2 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 (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-13T02:31:12.000Z (over 2 years ago)
- Last Synced: 2024-05-18T22:54:31.892Z (about 1 year 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.



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