FontFeature.denominator constructor

const FontFeature.denominator()

Display digits as denominators. (dnom)

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

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

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

See also:

Implementation

const FontFeature.denominator()
    : feature = 'dnom',
      value = 1;