gtk 1.0.0-rc.8
gtk: ^1.0.0-rc.8 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.

NOTE: For getting colors from gtk 3.0 theme use version <=0.9.8+1
Features #
- Libadwaita colors implemented
- Various GTK widgets ported to flutter
- Compatible with various packages
Usage #
- To get color from theme you can use
Theme.of(context).[color]like usual. E.g.Theme.of(context).tiles. - Following colors are available:
tiles- List rows, tilesmenus- Menus, popoverssidebars- Header bars, active tabs, message dialogs, sidebarsviewSwitcher- View switchertextColor- Text, icons colorfgColor- Foreground areas, bordersbgColor- Background areasinactiveTabs- Inactive tabsborder- Border
- If you want custom titlebar then you can follow the steps for that on
bitsdojo_windowpackage. - Following Widgets are currently ported to flutter:
GtkContainerGtkHeaderBarGtkHeaderBarMinimalGtkHeaderButtonGtkPopupMenuGtkSidebarGtkTwoPaneGtkViewSwitcherGtkViewSwitcherTab
See the example app in the example folder.
Additional information #
This package is dependent on
popoverfor GtkPopover.window_decorationsfor Window Decorations (doesn't needed if you useGtkHeaderBarMinimal)
Optional packages to use with this package:
adwaita_iconsfor Adwaita Iconsbitsdojo_windowfor better look and feel with custom GtkHeaderBar.bitsdojonativeshellfor better look and feel with custom GtkHeaderBar.nativeshell
License #
LGPL v3 / GNU LESSER GENERAL PUBLIC LICENSE v3
TLDR;