withPosition method

TextAnnotation withPosition(
  1. Offset value
)

Replaces TextAnnotation.position with value.

Implementation

TextAnnotation withPosition(Offset value) => copyWith(position: value);