leading property

Widget? leading
final

The widget to display at the start (leading) of the text field, such as an icon.

Type: Widget?

Usage: Enhances the input field with visual cues, like a search icon. Defaults to null.

Implementation

final Widget? leading;