From bd505f4b8baa4b1c63f557e5948318e7d30e9dda Mon Sep 17 00:00:00 2001 From: Bruno Leroux Date: Mon, 4 Dec 2023 18:30:11 +0100 Subject: [PATCH] Remove InkSparkle.constantTurbulenceSeedSplashFactory usage (#139481) This PR removes the call to `InkSparkle.constantTurbulenceSeedSplashFactory` which was introduced in https://github.com/flutter/flutter/pull/137998. This is now obsolete since https://github.com/flutter/flutter/pull/138757 was merged and InkSparkle randomness is no more active in tests. --- .../flutter/test/material/bottom_navigation_bar_test.dart | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/flutter/test/material/bottom_navigation_bar_test.dart b/packages/flutter/test/material/bottom_navigation_bar_test.dart index 38bb503761..c724bba3ca 100644 --- a/packages/flutter/test/material/bottom_navigation_bar_test.dart +++ b/packages/flutter/test/material/bottom_navigation_bar_test.dart @@ -2339,12 +2339,9 @@ void main() { // Regression test for: https://github.com/flutter/flutter/issues/22226 Widget runTest() { int currentIndex = 0; - const bool useInkSparkle = !kIsWeb; return MaterialApp( - // Because this test relies on golden, fo a constant seed for the ink sparkle animation. - theme: ThemeData(splashFactory: useInkSparkle ? InkSparkle.constantTurbulenceSeedSplashFactory : null), - home: StatefulBuilder( + home: StatefulBuilder( builder: (BuildContext context, StateSetter setState) { return Scaffold( bottomNavigationBar: RepaintBoundary(