FontStyle.obliqueAngle constructor
const
FontStyle.obliqueAngle(
- Angle angle
Selects a font classified as oblique, and additionally specifies an angle for the slant of the text.
If one or more oblique faces are available in the chosen font family, the one that most closely matches the specified angle is chosen. If no oblique faces are available, the browser will synthesize an oblique version of the font by slanting a normal face by the specified amount. Valid values are degree values of -90deg to 90deg inclusive. If an angle is not specified, an angle of 14 degrees is used. Positive values are slanted to the end of the line, while negative values are slanted towards the beginning.
Implementation
const factory FontStyle.obliqueAngle(Angle angle) = _ObliqueAngleFontStyle;