FluentLocalizationMarkup extension

Span rendering on FluentLocalization — here (not on the class) so the main entrypoint never carries the HTML parser.

on

Methods

formatMessageAsSpans(String id, {String? attribute, Map<String, Object?> args = const {}, List<FluentError>? errors}) List<FluentSpan>

Available on FluentLocalization, provided by the FluentLocalizationMarkup extension

Format id and parse its inline markup into a span tree — FluentBundle's formatMessageAsSpans, through the fallback chain.