{"id":21387068,"url":"https://github.com/gtk-flutter/adwaita","last_synced_at":"2025-10-24T20:33:50.663Z","repository":{"id":44163131,"uuid":"428032217","full_name":"gtk-flutter/adwaita","owner":"gtk-flutter","description":"Implementation of the adwaita theme for flutter/dart","archived":false,"fork":false,"pushed_at":"2023-10-04T16:46:12.000Z","size":162,"stargazers_count":37,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-24T07:05:42.131Z","etag":null,"topics":["adwaita","dart","flutter","gnome","gtk","theme"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/adwaita","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gtk-flutter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-11-14T20:20:46.000Z","updated_at":"2024-04-05T11:44:14.000Z","dependencies_parsed_at":"2023-10-04T21:41:30.478Z","dependency_job_id":null,"html_url":"https://github.com/gtk-flutter/adwaita","commit_stats":{"total_commits":37,"total_committers":5,"mean_commits":7.4,"dds":0.4054054054054054,"last_synced_commit":"495c83c6cbd3326d7a799564c149c8b1c67adf9d"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtk-flutter%2Fadwaita","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtk-flutter%2Fadwaita/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtk-flutter%2Fadwaita/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gtk-flutter%2Fadwaita/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gtk-flutter","download_url":"https://codeload.github.com/gtk-flutter/adwaita/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225893454,"owners_count":17540916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adwaita","dart","flutter","gnome","gtk","theme"],"created_at":"2024-11-22T12:11:43.923Z","updated_at":"2025-10-24T20:33:45.614Z","avatar_url":"https://github.com/gtk-flutter.png","language":"Dart","readme":"\u003c!--\nThis README describes the package. If you publish this package to pub.dev,\nthis README's contents appear on the landing page for your package.\n\nFor information about how to write a good package README, see the guide for\n[writing package pages](https://dart.dev/guides/libraries/writing-package-pages).\n\nFor general information about developing packages, see the Dart guide for\n[creating packages](https://dart.dev/guides/libraries/create-library-packages)\nand the Flutter guide for\n[developing packages and plugins](https://flutter.dev/developing-packages).\n--\u003e\n\n# Adwaita Theme\n\n![CI](https://github.com/gtk-flutter/adwaita/actions/workflows/ci.yml/badge.svg)\n[![GitHub Super-Linter](https://github.com/gtk-flutter/adwaita/workflows/Lint%20Code%20Base/badge.svg)](https://github.com/marketplace/actions/super-linter)\n\nImplementation of the adwaita color scheme found in [libadwaita](https://gitlab.gnome.org/GNOME/libadwaita).\n\nInspired by the [yaru theme](https://github.com/ubuntu/yaru.dart) for flutter.\n\n\n## Usage\n\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:adwaita/adwaita.dart';\n\nvoid main() =\u003e runApp(MyApp());\n\nclass MyApp extends StatelessWidget {\n  final ValueNotifier\u003cThemeMode\u003e themeNotifier = ValueNotifier(ThemeMode.light);\n\n  MyApp({Key? key}) : super(key: key);\n\n  @override\n  Widget build(BuildContext context) {\n    return ValueListenableBuilder\u003cThemeMode\u003e(\n        valueListenable: themeNotifier,\n        builder: (_, ThemeMode currentMode, __) {\n          return MaterialApp(\n              theme: AdwaitaThemeData.light(),\n              darkTheme: AdwaitaThemeData.dark(),\n              debugShowCheckedModeBanner: false,\n              home: MyHomePage(themeNotifier: themeNotifier),\n              themeMode: currentMode);\n        });\n  }\n}\n```\n\n## Examples\n\n![light_theme](https://raw.githubusercontent.com/gtk-flutter/adwaita/main/images/light.png)\n\n![dark_theme](https://raw.githubusercontent.com/gtk-flutter/adwaita/main/images/dark.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgtk-flutter%2Fadwaita","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgtk-flutter%2Fadwaita","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgtk-flutter%2Fadwaita/lists"}