isInteractive property

bool get isInteractive

Whether this scope has a tap or long-press handler.

Implementation

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