FontFeature.numerators constructor

const FontFeature.numerators()

Display digits as numerators. (numr)

This is typically used automatically by the font rendering system as part of the implementation of frac for the numerator part of fractions (see FontFeature.fractions).

{@tool sample} The Piazzolla font supports the numr feature. It causes the digits to be rendered smaller and near the top of the EM box.

** See code in examples/api/lib/ui/text/font_feature.font_feature_numerators.0.dart ** {@end-tool}

See also:

Implementation

const FontFeature.numerators()
    : feature = 'numr',
      value = 1;