@override void retain(int index, int? length, Style? attributes) { assert(isNotEmpty); final child = queryChild(index, false); child.node!.retain(child.offset, length, attributes); }