getSpanForPosition method Null safety
- TextPosition position
 
override
    Returns the text span that contains the given position in the text.
Implementation
@override
InlineSpan? getSpanForPosition(TextPosition position) {
  assert(debugAssertIsValid());
  return null;
}