Repository: flutter
Issue: IconButton wrapped inside a black background BottomAppBar with ` splashColor: Colors.transparent,` doesn't work correctly
Labels: platform-android,framework,f: material design,has reproducible steps,P2,team-design,triaged-design,found in release: 3.24

### Steps to reproduce

consider this code:
```dart
import 'package:flutter/material.dart';

class MainContent extends StatefulWidget {
  const MainContent({super.key});

  @override
  State<MainContent> createState() => _MainContentState();
}

class _MainContentState extends State<MainContent> {
  int _selectedIndex = 0;
  void _onItemTapped(int index) {
    if (_selectedIndex != index)
      setState(() {
        _selectedIndex = index;
      });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('My Notes',
            style: TextStyle(fontWeight: FontWeight.bold)),
        actions: const [
          CircleAvatar(
              minRadius: 30,
              child: Text(
                "a",
              ))
        ],
      ),
      body: Text(""),
      bottomNavigationBar: BottomAppBar(
        shape: const CircularNotchedRectangle(),
        notchMargin: 0.0,
        height: 67,
        color: Colors.black87,
        child: Row(
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          children: <Widget>[
            IconButton(
              icon: Icon(
                Icons.add,
                color: _selectedIndex == 0 ? Colors.white : Colors.grey,
              ),
              splashColor: Colors.transparent,
              onPressed: () {
                _onItemTapped(0);
              },
            ),
            IconButton(
              icon: Icon(
                Icons.note,
                color: _selectedIndex == 1 ? Colors.white : Colors.grey,
              ),
              onPressed: () {
                _onItemTapped(1);
              },
            ),
            IconButton(
              icon: Icon(
                Icons.check_box,
                color: _selectedIndex == 2 ? Colors.white : Colors.grey,
              ),
              onPressed: () {
                _onItemTapped(2);
              },
            ),
            IconButton(
              icon: Icon(
                Icons.more_vert,
                color: _selectedIndex == 3 ? Colors.white : Colors.grey,
              ),
              onPressed: () {
                _onItemTapped(3);
              },
            ),
          ],
        ),
      ),
    );
  }
}

```

### Expected results

normal splash animation

### Actual results

some flickering in the iconButton splash area

### Code sample

<details open><summary>Code sample</summary>

```dart

```

</details>


### Screenshots or Video
[video](https://github.com/user-attachments/assets/9cf1d449-346c-4d04-a6f1-e82985fef02e)

### Logs
<details open><summary>Logs</summary>

```console
no logs
```
</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[√] Flutter (Channel master, 3.24.0-1.0.pre.546, on Microsoft Windows [version 10.0.19045.4239], locale en-US)
    • Flutter version 3.24.0-1.0.pre.546 on channel master at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8e18b5a331 (30 hours ago), 2024-08-11 23:34:29 -0400
    • Engine revision 1a5e2e58d3
    • Dart version 3.6.0 (build 3.6.0-134.0.dev)
    • DevTools version 2.38.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:\Android\Sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Java\jdk-21\bin\java
    • Java version Java(TM) SE Runtime Environment (build 21.0.3+7-LTS-152)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.3.2)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.3.32819.101
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2024.1)
    • Android Studio at C:\Users\bougara computer\Desktop\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 17.0.11+0--11852314)

[√] VS Code (version 1.91.1)
    • VS Code at C:\Users\bougara computer\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.91.20240529

[√] Connected device (4 available)
    • M2003J15SC (mobile) • 05d3e1490405 • android-arm64  • Android 11 (API 30)
    • Windows (desktop)   • windows      • windows-x64    • Microsoft Windows [version 10.0.19045.4239]
    • Chrome (web)        • chrome       • web-javascript • Google Chrome 127.0.6533.100
    • Edge (web)          • edge         • web-javascript • Microsoft Edge 126.0.2592.113

[√] Network resources
    • All expected network resources are available.

• No issues found!
```

</details>