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.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user