tapEnabled property Null safety

bool tapEnabled
final

If set, this indicates that the chip should be disabled if all of the tap callbacks (onSelected, onPressed) are null.

For example, the Chip class sets this to false because it can't be disabled, even if no callbacks are set on it, since it is used for displaying information only.

Defaults to true.

Implementation

final bool tapEnabled;