clone method

  1. @override
WidgetContext clone()
override

Called after layout to save the state

Implementation

@override
WidgetContext clone() {
  return RichTextContext()..apply(this);
}