hasFloatingActionButton property Null safety

bool hasFloatingActionButton

Whether this scaffold has a non-null Scaffold.floatingActionButton.

Implementation

bool get hasFloatingActionButton => widget.floatingActionButton != null;