enabled property

bool enabled
final

Whether this list item is interactive.

If false, this list item is styled with the disabled color from the current Theme and the onTap and onLongPress callbacks are inoperative.

Implementation

final bool enabled