hasFloatingActionButton property Null safety
Whether this scaffold has a non-null Scaffold.floatingActionButton.
Implementation
bool get hasFloatingActionButton => widget.floatingActionButton != null;
Whether this scaffold has a non-null Scaffold.floatingActionButton.
bool get hasFloatingActionButton => widget.floatingActionButton != null;