readOnly property

bool readOnly
final

Whether the control only displays a value (e.g. an aggregate rating) even though onChanged may be set. Unlike enabled, read-only keeps the normal (non-muted) fill colors — it just can't be changed here.

Implementation

final bool readOnly;