hasFloatingActionButton property

bool get hasFloatingActionButton

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

Implementation

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