isCheckStateMixed property

bool? isCheckStateMixed

If this node has tristate that can be controlled by the user, whether that state is in its mixed state.

Do not call the setter for this field if the owning RenderObject doesn't have checked/unchecked state that can be controlled by the user.

The getter returns null if the owning RenderObject does not have mixed checked state.

Implementation

bool? get isCheckStateMixed => _hasFlag(SemanticsFlag.hasCheckedState) ? _hasFlag(SemanticsFlag.isCheckStateMixed) : null;
void isCheckStateMixed=(bool? value)

Implementation

set isCheckStateMixed(bool? value) {
  assert(value != true || isChecked != true);
  _setFlag(SemanticsFlag.hasCheckedState, true);
  _setFlag(SemanticsFlag.isCheckStateMixed, value!);
}