Flutter : ‘void Function(String)’ can’t be assigned to the parameter type ‘void Function(String?)?’
I’m trying to implement a dropdown menu in my flutter application, but in this part of the code have problems,
error show this,
how do i fix this?