leading property Null safety

Widget? leading
final

Widget to place at the start of the navigation bar. Normally a back button for a normal page or a cancel button for full page dialogs.

If null and automaticallyImplyLeading is true, an appropriate button will be automatically created.

This widget is visible in both collapsed and expanded states.

Implementation

final Widget? leading;