INNER CODE UNIT · Dart

id

hackware1993/Flutter_ConstraintLayout · lib/src/core.dart:2229

          id = IndexConstraintId(childCount + id._siblingIndex);
        }
      }

      ConstrainedNode? node;
      int? contextHash;
      if (id.runtimeType == ConstraintId) {
        /// Fewer reads to nodesMap for faster constraint building
        contextHash = buildNodeTreesCount ^ hashCode;
        node = id._getCacheNode(contextHash);
        if (node != null) {
          return node;
        }
      }

      node = nodesMap[id];
      if (node == null) {
        node = ConstrainedNode()..nodeId = id;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…