icon property

dynamic icon
final

icon String|Widget|Function with parameter: value returning String|Widget displayed next to the selected item or the hint if none.

Implementation

final dynamic icon;