leading property
Widget displayed to the left of the main child content.
Commonly used for icons that provide additional context about the button's action. Automatically spaced from the child with appropriate gaps.
Implementation
final Widget? leading;