collectStyle method

Style collectStyle(
  1. int index,
  2. int len
)

Only attributes applied to all characters within this range are included in the result.

Implementation

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