isInMutuallyExclusiveGroup property

bool get isInMutuallyExclusiveGroup

Whether the owning RenderObject corresponds to UI that allows the user to pick one of several mutually exclusive options.

For example, a Radio button is in a mutually exclusive group because only one radio button in that group can be marked as isChecked.

Implementation

bool get isInMutuallyExclusiveGroup => _flags.isInMutuallyExclusiveGroup;
set isInMutuallyExclusiveGroup (bool value)

Implementation

set isInMutuallyExclusiveGroup(bool value) {
  _flags = _flags.copyWith(isInMutuallyExclusiveGroup: value);
  _hasBeenAnnotated = true;
}