RichLabelBuilder<T> typedef

RichLabelBuilder<T> = TextSpan Function(T value, TextStyle style)

Signature for callbacks that builds label rich text based on the provided key. Also provides style in case if several styles could be used to build the label.

Implementation

typedef RichLabelBuilder<T> = TextSpan Function(T value, TextStyle style);