collectAllStyles method

List<Style> collectAllStyles(
  1. int index,
  2. int len
)

Returns all styles for any character within the specified text range.

Implementation

List<Style> collectAllStyles(int index, int len) {
  final res = queryChild(index);
  return (res.node as Line).collectAllStyles(res.offset, len);
}