adwaita_gtk 1.2.0
adwaita_gtk: ^1.2.0 copied to clipboard
Implementation of the Adwaita color scheme for Flutter, inspired by GNOME's libadwaita.
Adwaita GTK Theme for Flutter #
Implementation of the Adwaita color scheme from libadwaita,
the default GTK+ theme — now available for your Flutter apps.
This package is a maintained fork of the original
gtk-flutter/adwaita,
updated for modern Flutter SDK versions and published asadwaita_gtk.
📦 Installation #
Add this to your pubspec.yaml:
dependencies:
adwaita_gtk: ^1.2.0
Then run:
flutter pub get
🧩 Usage #
import 'package:flutter/material.dart';
import 'package:adwaita_gtk/adwaita_gtk.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: AdwaitaThemeData.light(),
darkTheme: AdwaitaThemeData.dark(),
debugShowCheckedModeBanner: false,
themeMode: ThemeMode.system,
home: const Scaffold(
body: Center(child: Text('Hello from Adwaita GTK')),
),
);
}
}
🖼️ Examples #
Light theme:

Dark theme:

🧠 Credits #
- Based on gtk-flutter/adwaita
- Inspired by the Yaru theme for Flutter
- Adwaita design by the GNOME Design Team
📄 License #
Licensed under the MPL-2.0 License.
