yaru 0.2.0 copy "yaru: ^0.2.0" to clipboard
yaru: ^0.2.0 copied to clipboard

outdated

Ubuntu Yaru Style - Distinct look and feel of the Ubuntu Desktop

Pub Package

Ubuntu Yaru Style - Distinct look and feel of the Ubuntu Desktop

Example app using Yaru light style Example app using Yaru dark style

Using Yaru #

To be able to use this package follow this steps:

  1. Installation

  2. Import yaru.dart

    import 'package:yaru/yaru.dart';
    
  3. Inside your MaterialApp set theme to yarulight which is the standard light theme and darkTheme to yaruDark to get the yaru dark theme. The darkTheme property is used when you toggle your system theme to dark:

    MaterialApp(
          theme: yarulight,
          darkTheme: yaruDark,
          home: Scaffold(
            appBar: AppBar(
              title: Text('Yaru Theme'),
            ),
            body: Container(),
          ),
        );
    

yaru.dart flavors #

Yaru comes in 7x2 different versions:

  • yaruLight & yaruDark
  • yaruXubuntuLight & yaruXubuntuLight
  • yaruKubuntuLight & yaruKubuntuDark
  • yaruLubuntuLight & yaruLubuntuDark
  • yaruUbuntuStudioDark & yaruUbuntuStudioDark
  • yaruMateLight & yaruMateDark
  • yaruUbuntuBudgieLight & yaruUbuntuBudgieDark

Contributing to yaru.dart #

We welcome contributions! See the contribution guide for more details.

Flutter Version #

Ubuntu Yaru Style requires Flutter 2. If you get an error about the current Dart SDK version similar to

[yaru.dart] flutter pub get
Running "flutter pub get" in yaru.dart...                       
The current Dart SDK version is 2.12.0-281.0.dev.

Because yaru requires SDK version >=2.12.0 <3.0.0, version solving failed.
pub get failed (1; Because yaru requires SDK version >=2.12.0 <3.0.0, version solving failed.)
exit code 1

please try upgrading to Flutter 2 by running

flutter upgrade
145
likes
0
pub points
93%
popularity

Publisher

verified publisherubuntu.com

Ubuntu Yaru Style - Distinct look and feel of the Ubuntu Desktop

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on yaru