Flutter – the argument type 'string ' can't be assigned to the parameter type 'pattern'
I have a problem that the argument type string can't be assigned to the parameter type pattern in this code I added the null check ! but the error didn't disappear what shall I do? in this problem i coufused…