fluent_ui
fluent_ui copied to clipboard
Separated TextBox Decorations
Separates TextBox Decorations into:
1- focusedDecoration 2- unFocusedDecoration 3- focusedForegroundDecoration 4- unFocusedForegroundDecoration
Bocuse the color of the TextBox ForegroundDecoration border color changes only from Theme or changing the whole Border, so i have made a changes on the Whole decorations in the TextBox.
For Your Knowledge: I don't know why I did this pull request maybe I was drunk maybe I was sleepy
Hello! Thank you for this pull request.
I like the idea of having a different decoration for different states, but the way you proposed is a bit limiting. It'd be nice to have it like buttons do: with a ButtonState
.
TextBox(
decoration: ButtonState.all(BoxDecoration(
...
)),
)
do you mean that you want me to replace these:
focusedDecoration unFocusedDecoration
focusedForegroundDecoration unFocusedForegroundDecoration
with ButtonState<BoxDecoration> decoration
, ButtonState<BoxDecoration> foregroundDecoration
?
yes! what do you think?
OK, It is a pretty idea. I will do it.