Repository: flutter
Issue: AnimatedRotation breaks IconButton tap callback
Labels: framework,f: material design,has reproducible steps,P3,team-design,triaged-design,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

Use an IconButton inside AnimatedRotation

### Expected results

Button stays clickable

### Actual results

onPressed doesn't fire on click/tap

### Code sample

<details><summary>Code sample</summary>

https://dartpad.dev/?id=9fe057209798eea5fcd1edd2c20aa816

</details>


### Screenshots or Video

_No response_

### Logs

_No response_

### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
[√] Flutter (Channel stable, 3.13.0, on Microsoft Windows [Version 10.0.19045.3324], locale en-US)
    • Flutter version 3.13.0 on channel stable at C:\flutter                                      
    • Upstream repository https://github.com/flutter/flutter.git                                  
    • Framework revision efbf63d9c6 (5 days ago), 2023-08-15 21:05:06 -0500                       
    • Engine revision 1ac611c64e                                                                  
    • Dart version 3.1.0                                                                          
    • DevTools version 2.25.0                                                                     

[√] Windows Version (Installed version of Windows is version 10 or higher)

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\david\AppData\Local\Android\Sdk\
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = C:\Users\david\AppData\Local\Android\Sdk\
    • ANDROID_SDK_ROOT = C:\Users\david\AppData\Local\Android\Sdk\
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    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 Community 2019 16.11.18)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.32802.440
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.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.11+9-b60-7590822)

[√] IntelliJ IDEA Ultimate Edition (version 2022.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2021.2.3
    • Flutter plugin version 72.1.4
    • Dart plugin version 223.8836.5

[√] IntelliJ IDEA Ultimate Edition (version 2023.2)
    • IntelliJ at C:\Users\david\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\232.8660.185
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 232.8660.129

[√] VS Code (version 1.81.1)
    • VS Code at C:\Users\david\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.1.0

[√] VS Code, 64-bit edition (version 1.81.0)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.1.0

[√] Connected device (4 available)
    • Pixel 7 Pro (mobile) • adb-2B221FDH300CKF-Bf8PBk._adb-tls-connect._tcp • android-arm64  • Android 13 (API 33)
    • Windows (desktop)    • windows                                         • windows-x64    • Microsoft Windows [Version 10.0.19045.3324]
    • Chrome (web)         • chrome                                          • web-javascript • Google Chrome 116.0.5845.96
    • Edge (web)           • edge                                            • web-javascript • Microsoft Edge 115.0.1901.188

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

```

</details>