libadwaita 1.2.0-dev libadwaita: ^1.2.0-dev copied to clipboard
Libadwaita's widgets for Flutter. Following Gnome HIG and available on all platforms.
Libadwaita ❤️ Flutter #
Libadwaita's widgets for Flutter. Following Gnome HIG and available on all platforms.
NOTE: For getting colors from gtk 3.0 theme use version <=0.9.8+1
Features #
- Various Libadwaita widgets ported to flutter
- Some new widgets are also available, Check example for more info
- Compatible with various packages
Usage #
- This only provides widgets, for theming you should consider adwaita or yaru package.
- If you want custom titlebar then you can follow the steps for that on
libadwaita_bitsdojo
package. - Here is the list of widgets imported from libadwaita library : widgets.dart.
See the example app in the example
folder for more info.
Relavant Links #
Additional information #
This package works great with #
Optional packages #
adwaita_icons
For Adwaita Icons
libadwaita_bitsdojo
Can be used with
AdwHeaderBar.bitsdojo
AdwHeaderBar.customBitsdojo
Example:
import 'package:libadwaita_bitsdojo/libadwaita_bitsdojo.dart';
AdwHeaderBar.bitsdojo(
...
appWindow: appWindow,
...
)
libadwaita_searchbar
Example:
import 'package:libadwaita_searchbar/libadwaita_searchbar.dart';
bool searchedTerm = '';
AdwSearchBar(
onSubmitted: (str) => setState(() => searchedTerm = str),
controller: const TextEditingController(),
)
libadwaita_searchbar_ac
Example:
import 'package:libadwaita_searchbar_ac/libadwaita_searchbar_ac.dart';
bool searchedTerm = '';
AdwSearchBarAc(
suggestions: const ['Hi', 'Hello'],
onSubmitted: (str) => setState(() => searchedTerm = str),
controller: const TextEditingController(),
)
nativeshell
Can be used with
AdwHeaderBar.nativeshell
AdwHeaderBar.customNativeshell
Example:
import 'package:nativeshell/nativeshell.dart';
AdwHeaderBar.nativeshell(
...
window: Window.of(context),
...
)
titlebar_buttons
Can be used with
AdwHeaderBar
AdwHeaderBar.bitsdojo
AdwHeaderBar.nativeshell
Example:
import 'package:titlebar_buttons/titlebar_buttons.dart';
AdwHeaderBar(
...
windowDecor: windowDecor,
...
)
License #
Mozilla Public License 2.0
TLDR;