LinkSpanBuilder typedef

LinkSpanBuilder = InlineSpan Function(Color color)

A builder that creates a styled InlineSpan for the given link color.

LinkButton calls this on every rebuild so the span is always coloured with the current hover state — normal LinkButton.color or LinkButton.hoverColor.

Implementation

typedef LinkSpanBuilder = InlineSpan Function(Color color);