yaru_widgets 2.1.0 yaru_widgets: ^2.1.0 copied to clipboard
Common flutter widgets useful for building desktop and web applications.
Flutter Yaru Widgets #
Common flutter widgets useful for building desktop and web applications.
What is this? #
A set of convenient widgets made with material.dart
to easily build desktop and web applications.
Design references are the Ubuntu Yaru theme suite and the Vanilla framework by Canonical.
What it ain't #
This is not:
- a new design language
- a hard-copy of GNOME's Adwaita
Why not build on foundation.dart
and widgets.dart
? #
You may ask why yaru_widgets.dart
is not built directly upon foundation.dart
and widgets.dart
like for example the Chicago widget library.
The answer is that material.dart
brings functionally everything that one needs to build applications. The sometimes polarizing elevation of the material design language can be easily adjusted with a flutter theme. There is simply no need to build a whole new widget library parallel to material.dart
or cupertino.dart
if only the visuals should be changed. Using material.dart
as a base brings stability to your application and you can be sure that basic widgets, containers and constraints "just work".
So yaru_widgets.dart
uses the completeness and the level of polish material.dart
has and adds a set of widgets to it that are useful (but not necessarily the only way) to build desktop and web applications so they all have a consistent look and use the same design patterns.
Tested themes #
Themes inside yaru.dart
are the only Material themes tested with yaru_widgets and we do not currently recommend to use any other themes.