icon property
Widget?
get
icon
Implementation
Widget? get icon {
if (value != null) {
if (showClearButton || clearButton != null) {
return GestureDetector(
onTap: () => onChanged?.call(null),
child: clearButton ?? const Icon(Icons.clear),
);
}
}
return null;
}