trailingIcon property

IconData? trailingIcon
final

An optional icon to display to the right of the child.

Will be colored in the same way as the TextStyle used for child (for example, if using isDestructiveAction).

Implementation

final IconData? trailingIcon;