getBoxesForPlaceholders method Null safety

List<TextBox> getBoxesForPlaceholders()

Returns a list of text boxes that enclose all placeholders in the paragraph.

The order of the boxes are in the same order as passed in through ParagraphBuilder.addPlaceholder.

Coordinates of the TextBox are relative to the upper-left corner of the paragraph, where positive y values indicate down.

Implementation

List<TextBox> getBoxesForPlaceholders() {
  return _decodeTextBoxes(_getBoxesForPlaceholders());
}