gtk 0.9.8+1
gtk: ^0.9.8+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, themes and titlebar buttons in Flutter. Based on the GNOME Human Interface Guidelines.

GTK+Flutter example screenshot

Features #

  • Adwaita style Colors and icons
  • Various GTK widgets ported to flutter
  • Picks up system theme from current gtk-3.0 theme
  • Provides various window decorations / titlebar buttons for header bar

Usage #

  • To get color from theme you can use either getGtkColor function or getAdaptiveGtkColor function.
  • 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.
23
likes
120
pub points
67%
popularity

Publisher

prateeksu.blogspot.com

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

LGPL-3.0 (LICENSE)

Dependencies

dbus, flutter, from_css_color, gsettings, popover, xdg_directories

More

Packages that depend on gtk