AlertStyleFunc typedef

AlertStyleFunc = Style? Function(String line, int lineIndex)

Callback for alert message styling.

line is the message 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 AlertStyleFunc = Style? Function(String line, int lineIndex);