base property Null safety

TextPosition base

The position at which the selection originates.

Might be larger than, smaller than, or equal to extent.

Implementation

TextPosition get base => TextPosition(offset: baseOffset, affinity: affinity);