SourceLines typedef
SourceLines =
List<List<Span> > Function(SourceExcerpt excerpt, ThemeData theme)
The lines of code of excerpt, from its first line to its last, as
spans in theme: what a traceback shows of the source an error was
thrown in, after each line's number. The lines of the file
(SourceExcerpt.fileLines) are there from its top, for code that reads
the lines above to show the first of them (inside a comment or a
string).
Implementation
typedef SourceLines = List<List<Span>> Function(
SourceExcerpt excerpt,
ThemeData theme,
);