leading property

Widget? leading
final

The leading widget of the ExpandedContent.

It is usually a BackButton or a CloseButton.

Use this only when you need a leading widget only in the expanded state.

Take care when adding the leading widget both here and in the SliverSnap widget, as they might overlap.

Implementation

final Widget? leading;