getSpanForPosition method Null safety

  1. @override
InlineSpan? getSpanForPosition(
  1. 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;
}