currentSemanticsRoot static method

SemanticsNode? currentSemanticsRoot()

The live semantics root as last built, or null while semantics are off. Never flushes.

Implementation

static SemanticsNode? currentSemanticsRoot() =>
    // ignore: deprecated_member_use
    WidgetsBinding.instance.pipelineOwner.semanticsOwner?.rootSemanticsNode;