offset property
int
get
offset
Gets the starting offset of this fragment within its parent list.
Implementation
int get offset {
if (list == null) return -1;
int offset = 0;
for (EasyText el in list!) {
if (el == this) break;
offset += el.length;
}
return offset;
}