optFontSize method

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

Implementation

@protected
double? optFontSize(MarkupContext context, {bool enableTagAttr = true}) {
  if (enableTagAttr) {
    return context.getDoubleBy(tags, 'size');
  }
  return context.getDouble('size');
}