enabled property

bool enabled
final

Whether the user is permitted to select this item.

Defaults to true. If this is false, then the item will not react to touches.

Implementation

final bool enabled;