affinity property Null safety
final
If the text range is collapsed and has more than one visual location (e.g., occurs at a line break), which of the two locations to use when painting the caret.
Implementation
final TextAffinity affinity;