You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have implemented dark mode in my application however it seems that the feedbackSheetColor from the light theme is applied whenever I switch to the dark theme. See the following code:
The strange thing is that the feedbackSheetColor from the dark theme is correctly applied on the bottom sheet, however, not on the ControlsColumn.
If I change the property feedBackSheetColor property from the light theme from feedbackSheetColor: const Color(0xFFf2f2fa) to feedbackSheetColor: darkBackground, I will get the following result:
Unfortunately, this will give the light theme dark colors:
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.13.9, on Microsoft Windows [Version 10.0.19045.3570], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[X] Visual Studio - develop Windows apps
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2022.3)
[√] IntelliJ IDEA Ultimate Edition (version 2022.2)
[√] IntelliJ IDEA Ultimate Edition (version 2023.1)
[√] VS Code (version 1.71.2)
[√] Connected device (4 available)
[√] Network resources
! Doctor found issues in 1 category.
The text was updated successfully, but these errors were encountered:
Whenever you hardcode the themeMode property of the BetterFeedback widget to either ThemeMode.light or ThemeMode.dark it will work. However, when you have a dynamic value the described bug will occur. It seems that something is not rebuilding properly.
Version
3.0.0
Library
feedback
Flutter channel
stable
Flutter version
3.13.9
Platform
Android
Details
I have implemented dark mode in my application however it seems that the
feedbackSheetColor
from the light theme is applied whenever I switch to the dark theme. See the following code:main.dart
app_feedback_theme.dart
The strange thing is that the
feedbackSheetColor
from the dark theme is correctly applied on the bottom sheet, however, not on theControlsColumn
.If I change the property
feedBackSheetColor
property from the light theme fromfeedbackSheetColor: const Color(0xFFf2f2fa)
tofeedbackSheetColor: darkBackground
, I will get the following result:Unfortunately, this will give the light theme dark colors:
Steps to reproduce
flutter create project
main.dart
main.dart
Change theme
buttonOutput of
flutter doctor -v
The text was updated successfully, but these errors were encountered: