alwaysIncludeSemantics property Null safety

bool alwaysIncludeSemantics

Whether child semantics are included regardless of the opacity.

If false, semantics are excluded when opacity is 0.0.

Defaults to false.

This getter cannot be read until the value has been set. It should be set by the constructor of the class in which this mixin is included.

Implementation

bool get alwaysIncludeSemantics => _alwaysIncludeSemantics!;
void alwaysIncludeSemantics=(bool value)

Implementation

set alwaysIncludeSemantics(bool value) {
  if (value == _alwaysIncludeSemantics)
    return;
  _alwaysIncludeSemantics = value;
  markNeedsSemanticsUpdate();
}