apply method

  1. @override
void apply(
  1. covariant RichTextContext other
)
override

Called before relayout to restore the saved state and restart the layout in the same conditions

Implementation

@override
void apply(RichTextContext other) {
  startOffset = other.startOffset;
  endOffset = other.endOffset;
  spanStart = other.spanStart;
  spanEnd = other.spanEnd;
}