focusFirstError method
Focuses the first item with an error.
Returns true if an error was found and focus moved, false otherwise.
Implementation
bool focusFirstError() {
final idx = firstErrorIndex;
if (idx != null) {
_focusedIndex = idx;
return true;
}
return false;
}