dark theme
This commit is contained in:
parent
a8d18fe476
commit
c6c6c5e743
@ -19,7 +19,19 @@ class MyApp extends StatelessWidget {
|
||||
return MaterialApp(
|
||||
title: constants.appTitle,
|
||||
theme: ThemeData(
|
||||
colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
|
||||
brightness: Brightness.light,
|
||||
colorScheme: ColorScheme.fromSeed(
|
||||
seedColor: Colors.blue,
|
||||
brightness: Brightness.light,
|
||||
),
|
||||
),
|
||||
themeMode: ThemeMode.dark,
|
||||
darkTheme: ThemeData(
|
||||
brightness: Brightness.dark,
|
||||
colorScheme: ColorScheme.fromSeed(
|
||||
seedColor: Colors.blue,
|
||||
brightness: Brightness.dark,
|
||||
),
|
||||
),
|
||||
initialRoute: '/',
|
||||
routes: {'/': (context) => const MyHomePage(title: constants.appTitle)},
|
||||
|
@ -22,7 +22,7 @@ class _MountWidgetState extends State<MountWidget> {
|
||||
child: Consumer<Mount>(
|
||||
builder: (context, mount, widget) {
|
||||
final textColor = Colors.blue;
|
||||
final subTextColor = Colors.black;
|
||||
final subTextColor = Colors.white70;
|
||||
|
||||
final isActive = mount.state == Icons.toggle_on;
|
||||
final nameText = SelectableText(
|
||||
|
Loading…
x
Reference in New Issue
Block a user