Repository: flutter
Issue: ImageFiltered flicking when navigate with animation
Labels: platform-android,engine,a: images,has reproducible steps,P2,team-engine,triaged-engine,found in release: 3.13,found in release: 3.14

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

1. ImageFiltered with a Image child
2. Navigator push

### Expected results

No flicking when do a regular navigate push.

### Actual results

See the reproduce code.

### Code sample

<details><summary>Code sample</summary>

```dart
import 'dart:ui';

import 'package:flutter/material.dart';
import 'package:imagefilterd_flicking_reproduce/second_screen.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  void handleNavigate() {
    // nav to second

    Navigator.push(
      context,
      PageRouteBuilder(
        pageBuilder: (_, __, ___) => const SecondScreen(),
        transitionDuration: const Duration(seconds: 0),
      ),
    );
  }

  void handleNavigateAnimated() {
    Navigator.of(context).push(MaterialPageRoute(builder: (context) {
      return const SecondScreen();
    }));
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          children: [
            ElevatedButton(
              onPressed: handleNavigate,
              child: const Text("navigate without animation"),
            ),
            ElevatedButton(
              onPressed: handleNavigateAnimated,
              child: const Text("navigate with animation"),
            ),
            const SizedBox(
              height: 40,
            ),
            _buildImageFiltered(),
          ],
        ),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }

  _buildImageFiltered() {
    return ClipRect(
      child: ImageFiltered(
        imageFilter: ImageFilter.blur(sigmaX: 40, sigmaY: 40),
        child: Image.asset(
          "assets/img.png",
          // not work
          height: 100,
          width: 100,
        ),
      ),
    );
  }
}

```

</details>


### Screenshots or Video

<details>
<summary>Screenshots / Video demonstration</summary>


https://github.com/flutter/flutter/assets/9105193/c32bee25-484c-4e62-acec-6f178652eb3d



</details>


### Logs

<details><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.2, on macOS 14.0 23A5328b darwin-arm64, locale en-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    ✗ Android SDK file not found: /Users/trz/Library/Android/sdk/platforms/android-34/android.jar.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.1)
[✓] VS Code (version 1.81.1)
[✓] Connected device (3 available)
[!] Network resources                            
    ✗ A network error occurred while checking "https://pub.dev/": Operation timed out
    ✗ A network error occurred while checking "https://maven.google.com/": Operation timed out

! Doctor found issues in 2 categories.

```

</details>