gtk 1.0.0-rc.2 copy "gtk: ^1.0.0-rc.2" to clipboard
gtk: ^1.0.0-rc.2 copied to clipboard

outdated

Implements GTK Widgets, themes and titlebar buttons in Flutter. Based on the GNOME HIG

GTK ❤️ Flutter #

Pub.dev License Maintainer

Unofficial implementation of GTK Widgets and libadwaita in Flutter. Based on the GNOME Human Interface Guidelines.

GTK+Flutter example screenshot

Features #

  • Libadwaita colors implemented
  • Various GTK widgets ported to flutter
  • Compatible with various packages

Usage #

  • Wrap your MaterialApp / CupertinoApp with GnomeTheme
  • To get ThemeData for MaterialApp use GnomeTheme.of(context).themeData.
  • To get color from theme you can use GnomeTheme.of(context).[color] like GnomeTheme.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

Optional packages to use with this package:

Classic API Docs

License #

LGPL v3 / GNU LESSER GENERAL PUBLIC LICENSE v3

TLDR;

  • You are free to use this package in whatever app you want,
  • If you improve the package then you should submit your patches / improvements to this repository.
31
likes
0
pub points
85%
popularity

Publisher

verified publishercanonical.com

Implements GTK Widgets, themes and titlebar buttons in Flutter. Based on the GNOME HIG

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, popover

More

Packages that depend on gtk