[3.32] Bottom navigation bar background color remains black and not working per device's light and dark theme modes.
- Dominant language
- Dart
- Stars
- 179k
- Forks
- 31.1k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
Render a screen
### Expected results
I expected the background of my buttons to be:
- Grey-ish on light mode
- Black on dark mode
### Actual results
The background color of my buttons remain black on both light and dark mode:

### Code sample
Code sample
```dart
return Scaffold(
body: const Text('test'),
bottomNavigationBar: BottomNavigationBar(
items: [
const BottomNavigationBarItem(
icon: Icon(Icons.home),
label: 'Home',
),
BottomNavigationBarItem(
icon: const Icon(Icons.settings),
label: AppLocalizations.of(context).settings,
),
],
),
);
```
### Screenshots or Video

### Logs
_No response_
### Flutter Doctor output
Doctor output
```console
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.32.0, on Microsoft Windows [Version 10.0.19045.5854], locale nl-BE)
[√] Windows Version (10 Pro 64-bit, 22H2, 2009)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Enterprise 2019 16.11.23)
[√] Android Studio (version 2023.3)
[√] Android Studio (version 2024.3.2)
[√] VS Code, 64-bit edition (version 1.100.2)
[√] Connected device (4 available)
[√] Network resources
• No issues found!
```
Contributor guide
Assessment
This issue has not been assessed yet.