isInteractive property

bool get isInteractive

Whether the card is interactive (has onTap callback)

Implementation

bool get isInteractive => onTap != null || onLongPress != null;