icon property

Widget? icon
final

The icon used by the label. If non-null, it's rendered horizontally before text.

Usually an Icon.

Implementation

final Widget? icon;