enabled property

bool? enabled
final

Whether the chip is enabled.

  • null (the default): derives enabled state from onTap and onDeleted. A chip with neither handler renders at 50% opacity and announces as a disabled button.
  • true: draws the chip at full strength. When both onTap and onDeleted are null, the chip is a purely informational pill (a tag or status): inert to touch/focus/press motion and read by screen readers as static text rather than a button.
  • false: forces the chip disabled (50% opacity, inert to touch/focus including onDeleted, announced as a disabled button) even when handlers are provided.

Implementation

final bool? enabled;