interaction property

bool interaction
final

Whether the button responds to user interaction.

When false, the button will not be tappable or respond to touches, but will maintain its normal visual appearance (no opacity change). This is different from CNButtonData.enabled which also applies the system's disabled visual styling.

Defaults to true.

Implementation

final bool interaction;