remove debug banner on screenshots.

This commit is contained in:
Thomas SharedInbox
2026-06-04 16:42:42 +02:00
parent 2137d25d6d
commit 4a07a175b9
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -422,6 +422,7 @@ Widget buildApp({
required List<Override> overrides,
UserPreferencesRepository? userPreferences,
ThemeMode themeMode = ThemeMode.light,
bool debugShowCheckedModeBanner = true,
}) {
final testRouter = GoRouter(
initialLocation: initialLocation,
@@ -546,6 +547,7 @@ Widget buildApp({
child: MaterialApp.router(
routerConfig: testRouter,
themeMode: themeMode,
debugShowCheckedModeBanner: debugShowCheckedModeBanner,
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.indigo),
useMaterial3: true,