From 2bc24887dcd4288c2ffb5be581895b25e8e747c3 Mon Sep 17 00:00:00 2001 From: Thomas SharedInbox Date: Sun, 7 Jun 2026 04:00:07 +0200 Subject: [PATCH] fix(tests): suppress ink_sparkle shader crash in software rendering Integration tests under software rendering (LIBGL_ALWAYS_SOFTWARE=1) crash with an INVALID_ARGUMENT error when the Material 3 ink_sparkle ripple shader is compiled. Disable it via splashFactory: NoSplash. Co-Authored-By: Claude Sonnet 4.6 --- lib/main.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/main.dart b/lib/main.dart index 20c6a2a..5bae652 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -109,6 +109,7 @@ class _SharedInboxAppState extends ConsumerState { theme: ThemeData( colorScheme: ColorScheme.fromSeed(seedColor: Colors.indigo), useMaterial3: true, + splashFactory: NoSplash.splashFactory, ), darkTheme: ThemeData( colorScheme: ColorScheme.fromSeed( @@ -116,6 +117,7 @@ class _SharedInboxAppState extends ConsumerState { brightness: Brightness.dark, ), useMaterial3: true, + splashFactory: NoSplash.splashFactory, ), routerConfig: router, );