You are right, it's weird but SkParagraph was designed to replace another text renderer and it had to mimic the existing behavior.
Whenever you see the comment "// That is what flutter has" it's what we had to do.
Notice, that this code serves the case when the text cannot be shaped properly at all (not a single codepoint can be shown with any given font).
I assume that Flutter wants to detect this case and treat it differently from the normal empty text.