isInMutuallyExclusiveGroup property

bool 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 => _hasFlag(SemanticsFlag.isInMutuallyExclusiveGroup);
void isInMutuallyExclusiveGroup= (bool value)

Implementation

set isInMutuallyExclusiveGroup(bool value) {
  _setFlag(SemanticsFlag.isInMutuallyExclusiveGroup, value);
}