onClear property Null safety
final
onClear Function with no parameter not returning executed when the clear icon is tapped.
Implementation
final Function? onClear;
onClear Function with no parameter not returning executed when the clear icon is tapped.
final Function? onClear;