TextStyleBuilder typedef

TextStyleBuilder = TextStyle Function(BuildContext context, TextStyle base)

A function that builds a text style for a Portable Text block or span.

Implementation

typedef TextStyleBuilder = TextStyle Function(
  BuildContext context,
  TextStyle base,
);