onChanged Function with parameter: value not returning executed after the selection is done.
final Function? onChanged;