hasPressHandler property

bool hasPressHandler

Implementation

bool get hasPressHandler => widget.onPressed != null;