isReadOnly property

bool get isReadOnly

Whether the control can be changed.

Implementation

bool get isReadOnly => onChanged == null;