Repository: flutter
Issue: ListTile animation does not complete fully when using onLongPress to change state.
Labels: framework,a: animation,f: material design,has reproducible steps,P3,team-design,triaged-design,found in release: 3.16,found in release: 3.18

### Steps to reproduce

1. Run the code sample.
2. Long press on a ListTile and notice how the scale animation does not visually complete (until focus is changed or an interaction occurs). The strange thing is that the ListTile shape scaling does not complete, but you can see the inner content completes the scaling properly.
3. Tap on a ListTile and notice how the scale animation does visually complete. 

I believe it is somewhat related to [this issue](https://github.com/flutter/flutter/issues/48447).

I also believe this is a combination of the above mentioned issue + ListView (and its variants). Because I've tried the same thing, but with a ListTile outside of a ListView, and the animation completes. 

### Expected results

ListTile animation to complete fully when using onLongPress to change state.

### Actual results

ListTile animation does not complete fully when using onLongPress to change state.

### Code sample

<details open><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() => runApp(const ListTileApp());

class ListTileApp extends StatelessWidget {
  const ListTileApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(useMaterial3: true),
      home: const ListTileExample(),
    );
  }
}

class ListTileExample extends StatefulWidget {
  const ListTileExample({super.key});

  @override
  State<ListTileExample> createState() => _ListTileExampleState();
}

class _ListTileExampleState extends State<ListTileExample> {
  int _selectedIndex = 0;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('OnLongPress Bug')),
      body: ListView.builder(
        itemCount: 10,
        itemBuilder: (BuildContext context, int index) {
          return AnimatedScale(
            duration: Durations.medium2,
            scale: index == _selectedIndex ? 0.8 : 1.0,
            child: ListTile(
              title: Text('Item $index'),
              selected: index == _selectedIndex,
              selectedTileColor: Theme.of(context).colorScheme.surfaceVariant,
              onTap: () {
                setState(() {
                  _selectedIndex = index;
                });
              },
              onLongPress: () {
                setState(() {
                  _selectedIndex = index;
                });
              }
             ),
          );
        },
      ),
    );
  }
}
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

https://github.com/flutter/flutter/assets/79917015/653ac979-2d23-4841-b83f-733879b43faa

</details>

### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[√] Flutter (Channel stable, 3.16.5, on Microsoft Windows [Version 10.0.22621.2861], locale en-AU)
    • Flutter version 3.16.5 on channel stable at C:\src\flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (2 weeks ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4

[√] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at C:\Users\____\AppData\Local\Android\sdk
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.3.1)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools
    • Visual Studio Build Tools 2022 version 17.3.32811.315
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2022.3)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • Flutter plugin can be installed from:
[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.
```

</details>