void updateLine({ required int lineIdx, required double height, required bool isFolded, }) => _root.update(lineIdx, _LineBlock(height, isFolded));