Skip to content

Commit bd505f4

Browse files
authored
Remove InkSparkle.constantTurbulenceSeedSplashFactory usage (#139481)
This PR removes the call to `InkSparkle.constantTurbulenceSeedSplashFactory` which was introduced in flutter/flutter#137998. This is now obsolete since flutter/flutter#138757 was merged and InkSparkle randomness is no more active in tests.
1 parent df88e3a commit bd505f4

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/flutter/test/material/bottom_navigation_bar_test.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2339,12 +2339,9 @@ void main() {
23392339
// Regression test for: https://github.com/flutter/flutter/issues/22226
23402340
Widget runTest() {
23412341
int currentIndex = 0;
2342-
const bool useInkSparkle = !kIsWeb;
23432342

23442343
return MaterialApp(
2345-
// Because this test relies on golden, fo a constant seed for the ink sparkle animation.
2346-
theme: ThemeData(splashFactory: useInkSparkle ? InkSparkle.constantTurbulenceSeedSplashFactory : null),
2347-
home: StatefulBuilder(
2344+
home: StatefulBuilder(
23482345
builder: (BuildContext context, StateSetter setState) {
23492346
return Scaffold(
23502347
bottomNavigationBar: RepaintBoundary(

0 commit comments

Comments
 (0)