FontStyle class

The font-style CSS property sets whether a font should be styled with a normal, italic, or oblique face from its font-family.

Read more: MDN font-style

Constructors

FontStyle.obliqueAngle(Angle angle)
Selects a font classified as oblique, and additionally specifies an angle for the slant of the text.
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The css value
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

inherit → const FontStyle
initial → const FontStyle
italic → const FontStyle
Selects a font that is classified as italic.
normal → const FontStyle
Selects a font that is classified as normal within a font-family.
oblique → const FontStyle
Selects a font that is classified as oblique.
revert → const FontStyle
revertLayer → const FontStyle
unset → const FontStyle