When I am using iOS dark mode. Then flutter Text field text color is not visible. How to solve this problem ?
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)