last property

TextBit last

The last bit (recursively).

Implementation

TextBit get last {
  for (final child in _children.reversed) {
    final last = child is TextBits ? child.last : child;
    if (last != null) return last;
  }

  return null;
}