When I am using iOS dark mode. Then flutter Text field text color is not visible. How to solve this problem ?
Asked
Active
Viewed 510 times
1 Answers
0
I guess this could work if you use Colors.black as text color. I guess the Cupertino template uses CupertinoColors.black as text color but not the equivalent for the background. Even though this color is called black, it turns white in dark mode. I think this is not the case with Material colors. Otherwise define your own black color with RGB - or even better, use CupertinoColors.white as background (as it will turn black)

w461
- 2,168
- 4
- 14
- 40