icon property

IconData? icon
final

The trailing icon on the input field and calls the onIconTap or onTap when tapped.

Implementation

final IconData? icon;