readOnly property

bool? readOnly
final

If true, the toggle is displayed in a greyed-out, non-interactive state.

Implementation

final bool? readOnly;