optFontFamily method

  1. @protected
String? optFontFamily(
  1. MarkupContext context, {
  2. bool enableTagAttr = true,
})

Implementation

@protected
String? optFontFamily(MarkupContext context, {bool enableTagAttr = true}) {
  if (enableTagAttr) {
    return context.getBy(tags, 'font-family');
  }
  return context.get('font-family');
}