bits property

Iterable<TextBit> bits

The list of bits including direct children and their children.

Implementation

Iterable<TextBit> get bits sync* {
  for (final child in _children) {
    if (child is TextBits) {
      yield* child.bits;
    } else {
      yield child;
    }
  }
}