DVSystemFontFace class
One installed face of a family: Bold, Light Italic, Condensed.
- Annotations
Constructors
- DVSystemFontFace({required String family, required String style, FontWeight weight = FontWeight.w400, bool italic = false, int width = 5, String? path, String? id, int index = 0})
-
const
Properties
- family → String
-
The family the face belongs to, as the font names it.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
What the platform names the face by when it has no file (a browser's
PostScript name).
final
- index → int
-
The face's index in a font collection (
.ttc); 0 otherwise.final - italic → bool
-
final
- path → String?
-
The font file, where the platform has files. Null in a browser.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → String
-
The face's own name within the family: "Bold", "Condensed Oblique".
final
- weight → FontWeight
-
final
- width → int
-
The width class, 1 to 9: 5 is normal, below it condensed, above it wide.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromBinding(
Object? raw) → DVSystemFontFace? -
Decodes one entry of a
fonts.facesanswer. Null for an entry that names no family, which noTextStylecould ever ask for.