leading property

Widget? leading
final

The leading widget in the rail that is placed above the destinations.

It is placed at the top of the rail, above the destinations. Its location is not affected by groupAlignment.

This is commonly a FloatingActionButton, but may also be a non-button, such as a logo.

The default value is null.

Implementation

final Widget? leading;