showNewButton property

bool showNewButton

Whenever the new button should be displayed.

Implementation

bool get showNewButton => onNewPressed != null;