v1.1.0adwaita
Estilo Adwaita - O tema padrão do GTK+ para o seu aplicativo Flutter.
20Curtidas 321Downloads em 30 dias70Pontos Pub
Plataformas indisponíveis
Implementação do tema adwaita para flutter/dart
Texto original em inglês. Visite o GitHub para a versão atual.
Implementation of the adwaita color scheme found in libadwaita.
Inspired by the yaru theme for flutter.
import 'package:flutter/material.dart';
import 'package:adwaita/adwaita.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
final ValueNotifier<ThemeMode> themeNotifier = ValueNotifier(ThemeMode.light);
MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return ValueListenableBuilder<ThemeMode>(
valueListenable: themeNotifier,
builder: (_, ThemeMode currentMode, __) {
return MaterialApp(
theme: AdwaitaThemeData.light(),
darkTheme: AdwaitaThemeData.dark(),
debugShowCheckedModeBanner: false,
home: MyHomePage(themeNotifier: themeNotifier),
themeMode: currentMode);
});
}
}
Lista de dependências 2 itens
{"sdk":"flutter"}^4.0.0Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗