gtk 1.0.0-rc.1 gtk: ^1.0.0-rc.1 copied to clipboard
Implements GTK Widgets, themes and titlebar buttons in Flutter. Based on the GNOME HIG
GTK ❤️ Flutter #
Unofficial implementation of GTK Widgets and libadwaita in Flutter. Based on the GNOME Human Interface Guidelines.
Features #
- Libadwaita colors implemented
- Various GTK widgets ported to flutter
- Compatible with various packages
Usage #
- Wrap your
MaterialApp
/CupertinoApp
withGnomeTheme
- To get
ThemeData
forMaterialApp
useGnomeTheme.of(context).themeData
. - To get color from theme you can use
GnomeTheme.of(context).[color]
likeGnomeTheme.of(context).tiles
. - If you want custom titlebar then you can follow the steps for that on
bitsdojo_window
package. - Following Widgets are currently ported to flutter:
GtkHeaderBar
GtkHeaderBarMinimal
GtkHeaderButton
GtkPopupMenu
GtkSidebar
GtkTwoPane
GtkViewSwitcher
GtkViewSwitcherTab
Additional information #
This package is dependent on
popover
for GtkPopover.window_decorations
for Window Decorations (doesn't needed if you useGtkHeaderBarMinimal
)
Optional packages to use with this package:
adwaita_icons
for Adwaita Iconsbitsdojo_window
for better look and feel with custom GtkHeaderBar.bitsdojonativeshell
for better look and feel with custom GtkHeaderBar.nativeshell
License #
LGPL v3 / GNU LESSER GENERAL PUBLIC LICENSE v3
TLDR;