childPositions property

  1. @override
List<int> childPositions
latefinal

Position of child nodes.

Used only for editing functionalities.

This method stores the layout strucuture for cursor in the editing mode. You should return positions of children assume this current node is placed at the starting position. It should be no shorter than children. It's entirely optional to add extra hinting elements.

Implementation

@override
late final List<int> childPositions = computeChildPositions();