gtk 1.0.0-rc.7 copy "gtk: ^1.0.0-rc.7" to clipboard
gtk: ^1.0.0-rc.7 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

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, tiles
    • menus- Menus, popovers
    • sidebars - Header bars, active tabs, message dialogs, sidebars
    • viewSwitcher - View switcher
    • textColor - Text, icons color
    • fgColor - Foreground areas, borders
    • bgColor - Background areas
    • inactiveTabs - Inactive tabs
    • border - Border
  • If you want custom titlebar then you can follow the steps for that on bitsdojo_window package.
  • Following Widgets are currently ported to flutter:
    • GtkContainer
    • GtkHeaderBar
    • GtkHeaderBarMinimal
    • GtkHeaderButton
    • GtkPopupMenu
    • GtkSidebar
    • GtkTwoPane
    • GtkViewSwitcher
    • GtkViewSwitcherTab

See the example app in the example folder.

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

dbus, flutter, gsettings, popover

More

Packages that depend on gtk