textfield focused border changed
This commit is contained in:
parent
b80ab0718e
commit
e75d750007
|
|
@ -122,7 +122,7 @@ class _DidvanTextFieldState extends State<DidvanTextField> {
|
|||
|
||||
Color _borderColor() {
|
||||
if (_focusNode.hasFocus) {
|
||||
return Theme.of(context).colorScheme.primary;
|
||||
return Theme.of(context).colorScheme.focusedBorder;
|
||||
} else if (_error != null) {
|
||||
return Theme.of(context).colorScheme.error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue