Repository: flutter
Issue: List hits something while scrolling
Labels: platform-android,framework,a: fidelity,f: scrolling,a: quality,has reproducible steps,P2,found in release: 3.7,found in release: 3.9,team-android,triaged-android

#91605

After a few scrolls up and down during scrolling, the list of something rests on top and from the bottom, and then begins to stretch if you continue the scroll in the corresponding direction.

https://user-images.githubusercontent.com/102767277/223092560-c3e25c72-ff11-40af-98bd-d6b81d1c1aa6.mp4

<br><br>

<summary>Sample code</summary>
<details>

```
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Test AppBar',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(useMaterial3: true, brightness: Brightness.light),
      darkTheme: ThemeData(useMaterial3: true, brightness: Brightness.dark),
      home: CardScreen(),
    );
  }
}

class CardScreen extends StatelessWidget {
  const CardScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Cards'),
        shape: Border.all(color: Colors.transparent),
      ),
      body: ListView(
        padding: EdgeInsets.all(20),
        children: [
          Card(
            child: SizedBox(
              width: 300,
              height: 150,
              child: Center(child: Text('Elevated Card')),
            ),
          ),
          Card(
            elevation: 0,
            color: Theme.of(context).colorScheme.surfaceVariant,
            child: SizedBox(
              width: 300,
              height: 150,
              child: Center(child: Text('Filled Card')),
            ),
          ),
          Card(
            elevation: 0,
            shape: RoundedRectangleBorder(
              side: BorderSide(color: Theme.of(context).colorScheme.outline),
              borderRadius: BorderRadius.circular(12),
            ),
            child: SizedBox(
              width: 300,
              height: 150,
              child: Center(child: Text('Outlined Card')),
            ),
          ),
          Card(
            child: InkWell(
              onTap: () {},
              radius: 120,
              splashColor:
                  Theme.of(context).colorScheme.secondary.withOpacity(0.15),
              highlightColor:
                  Theme.of(context).colorScheme.secondary.withOpacity(0.15),
              borderRadius: BorderRadius.circular(12),
              child: SizedBox(
                width: 300,
                height: 150,
                child: Center(child: Text('Elevated Card (clickable)')),
              ),
            ),
          ),
          Card(
            elevation: 0,
            color: Theme.of(context).colorScheme.surfaceVariant,
            child: InkWell(
              onTap: () {},
              radius: 120,
              splashColor:
                  Theme.of(context).colorScheme.secondary.withOpacity(0.15),
              highlightColor:
                  Theme.of(context).colorScheme.secondary.withOpacity(0.15),
              borderRadius: BorderRadius.circular(12),
              child: SizedBox(
                width: 300,
                height: 150,
                child: Center(child: Text('Filled Card (clickable)')),
              ),
            ),
          ),
          Card(
            elevation: 0,
            shape: RoundedRectangleBorder(
              side: BorderSide(color: Theme.of(context).colorScheme.outline),
              borderRadius: BorderRadius.circular(12),
            ),
            child: InkWell(
              onTap: () {},
              radius: 120,
              splashColor:
                  Theme.of(context).colorScheme.secondary.withOpacity(0.15),
              highlightColor:
                  Theme.of(context).colorScheme.secondary.withOpacity(0.15),
              borderRadius: BorderRadius.circular(12),
              child: SizedBox(
                width: 300,
                height: 150,
                child: Center(child: Text('Outlined Card (clickable)')),
              ),
            ),
          ),
        ],
      ),
    );
  }
}
```
</details>

<summary>flutter doctor -v</summary>
<details>

```
[✓] Flutter (Channel master, 3.9.0-1.0.pre.42, on Microsoft Windows [Version 10.0.22621.1344], locale ru-UA)
    • Flutter version 3.9.0-1.0.pre.42 on channel master at C:\Flutter-SDK\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 859b6ecd3d (3 days ago), 2023-03-04 05:25:04 +0530
    • Engine revision f319881154
    • Dart version 3.0.0 (build 3.0.0-290.0.dev)
    • DevTools version 2.22.2

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at C:\Users\yablo\AppData\Local\Android\sdk
    • Platform android-TiramisuPrivacySandbox, build-tools 32.1.0-rc1
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.4.33403.182
    • Windows 10 SDK version 10.0.22000.0

[✓] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)

[✓] IntelliJ IDEA Community Edition (version 2022.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.2.1
    • Flutter plugin version 72.0.4
    • Dart plugin version 223.8617.8

[✓] VS Code (version 1.76.0)
    • VS Code at C:\Users\yablo\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.60.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22621.1344]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 110.0.5481.178
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 110.0.1587.63

[✓] Network resources
    • All expected network resources are available.

• No issues found!
```
</details>