Unverified Commit bd505f4b authored by Bruno Leroux's avatar Bruno Leroux Committed by GitHub

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.
parent df88e3a5
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment