collectStyle method
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);
}