recordRepeat function

void recordRepeat(
  1. FrameNode frame,
  2. String source
)

Record a repeat the way a reader can: the parameter it draws from, with the cells already in place. bindRepeats turns it into the closure.

Implementation

void recordRepeat(FrameNode frame, String source) {
  frame.repeated = SceneRepeat(items: const [], source: source, row: (_) => []);
}