PanelContentStyleFunc typedef
Callback for panel content styling.
line is the content line being rendered.
lineIndex is the index of the line (0-based).
Return a Style to apply to the line, or null for no styling.
Implementation
typedef PanelContentStyleFunc = Style? Function(String line, int lineIndex);