FontFeature.subscripts constructor

const FontFeature.subscripts()

Enable subscripts. (subs)

This feature causes some fonts to change some glyphs to their subscripted form.

It typically does not affect all glyphs, and so is not appropriate for generally causing all text to be subscripted.

This may override other features that substitute glyphs.

{@tool sample} The Piazzolla font supports the subs feature. It causes digits to be smaller and subscripted.

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

See also:

Implementation

const FontFeature.subscripts()
    : feature = 'subs',
      value = 1;