I've created a web app in Flutter and it works as expected, but I'm having issues with some mobile devices (especially the default browser on Samsung devices, it works fine on Chrome ). On the login page, my page background color is white and the text form field text color is black, but when I try to type on the text form field, it appears white (when the device display theme is dark). I tried hardcoding black but it doesn't work with dark theme. I also tried applying the theme under MaterialApp but nothing worked. Please suggest what I can do to resolve this issue. I want the background color to be white and the text color to be black.
UPDATE:-I have the same problem Question
Your question is not clear, please read the question guide, by the way, if you want to adjust the color by theme, you should check Official tutorial on sharing colors using themes