delimiterContext static method
RenderContext
delimiterContext(
- RenderContext context, {
- String delimiter = "(",
- double scale = 1.0,
Implementation
static RenderContext delimiterContext(
RenderContext context, {
String delimiter = "(",
double scale = 1.0,
}) {
final fontFamily =
resolveDelimiterFont(context.fontFamilies, scale) ?? context.fontFamily;
return context.copyWith(
fontStyle: FontStyle.normal,
fontFamily: fontFamily,
fontWeight: FontWeight.normal,
);
}