-
Notifications
You must be signed in to change notification settings - Fork 340
Description
Describe the bug
When I run flutter apps with the theme and darkTheme properties set from within code, the launched application does not follow the linux desktop dark theme and the android emulators system theme.
To Reproduce
Steps to reproduce the behavior:
Create a new flutter application
Change the theme property to a light theme and the darkTheme property to a dark theme. Switch your system theme to a dark theme in Android or Linux GNOME desktop
Expected behavior
The flutter app follows the system theme "brightness" and switch from dark to light
Screenshots
From within vscode:

From within vscode with the android emulator:

From the terminal:

From intellij:

From intellij with android as the target:

Versions (please complete the following information):
- VS Code version: 1.57.1
- Dart extension version: v3.24.0
- Dart/Flutter SDK version: Flutter version 2.3.0-17.0.pre.622, but this happens with all channels (stable, dev, beta, master)
Additional information: this worked perfectly fine until some days ago
Edit: vscode snap or .deb - same behaviour :(