clickable property

bool get clickable

Implementation

bool get clickable {
  return widget.isEnabled && widget.onPressed != null;
}