I'm trying to use these material text fields with the box outline style. I see that there's a property called boxStrokeColor
which lets me set the stroke only when the text field is highlighted when it's not highlighted it seems to pull that color from the global theme's colorPrimary
value.
In our app the user can set their own background color for certain views and I'd like to change the stroke color of the text field to a suitable contrasting color.
Is there any clean way to set the unhighlighted box stroke color programmatically?