Fixes tests and updates reactive theme

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2025-04-23 21:57:20 +02:00
parent cfd9052442
commit 23f0387389
5 changed files with 91 additions and 29 deletions
+2 -1
View File
@@ -59,7 +59,8 @@ class MainApp extends StatelessWidget {
debugShowCheckedModeBanner: false,
theme: Arcane.theme.light,
darkTheme: Arcane.theme.dark,
themeMode: Arcane.theme.currentTheme,
themeMode:
ArcaneTheme.of(context)?.themeMode ?? Arcane.theme.currentTheme,
home: Scaffold(
appBar: AppBar(
title: const Text("Arcane Framework Example"),