When input field is marked read only, the color of font is black. Date field on the other hand does not have a read only option, but a disable option and color of font is grey. This does not look good in my UI since some fields are grey and others black. So I added a theme extension as follows. This works fine on the browser, but does not work in mobile. Is there a solution to make the font color black for date disable option?
Are you added some custom dependencies, which are in the folder:
components->custom->styles?
If yes, you need to declare this in pubspec.yaml, like this: