isFirst property

bool get isFirst

Whether this node is the first of its live siblings.

Useful for connector lines, dividers and rounded-group styling. Rows are rebuilt when a sibling insert, removal, reorder or move shifts their position, so this stays fresh without any extra subscription.

Implementation

bool get isFirst {
  return indexInParent == 0;
}