leading property

Widget? leading
final

Optional widget displayed before the checkbox square.

Commonly used for icons or primary labels. The widget is automatically styled with small and medium text styles for visual consistency. Spacing between leading widget and checkbox is controlled by gap.

Implementation

final Widget? leading;