textfield new color name applied

This commit is contained in:
MohammadTaha Basiri 2022-01-08 14:13:24 +03:30
parent fa2046f12b
commit a96eabd30f
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ class _DidvanTextFieldState extends State<DidvanTextField> {
return Theme.of(context).colorScheme.focused;
}
if (_error != null) {
return Theme.of(context).colorScheme.errorLight;
return Theme.of(context).colorScheme.errorBack;
}
return Theme.of(context).colorScheme.surface;
}