FontFeature.slashedZero constructor

const FontFeature.slashedZero()

Use the slashed zero. (zero)

Some fonts contain both a circular zero and a zero with a slash. This enables the use of the latter form.

This is overridden by FontFeature.oldstyleFigures.

{@tool sample} The Source Code Pro font supports the zero feature. It causes the zero digit to be drawn with a slash rather than the default rendering, which in this case has a dot through the zero rather than a slash.

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

See also:

Implementation

const FontFeature.slashedZero()
    : feature = 'zero',
      value = 1;