leading property
The leading widget of the app bar.
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;