leadingIcon property

Widget? leadingIcon
final

An optional Icon at the front of the text input field.

Defaults to null. If this is not null, the menu items will have extra paddings to be aligned with the text in the text field.

Implementation

final Widget? leadingIcon;