Fonts class

Contains font configuration options available for Veriff.

See relevant documentation at https://developers.veriff.com/#flutter-integration.

Constructors

Fonts({String? regularFontPath, String? mediumFontPath, String? boldFontPath})
Creates a Fonts object.

Properties

boldFontPath String?
Path to bold font file (example: "fonts/bold.ttf")
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mediumFontPath String?
Path to medium font file (example: "fonts/medium.ttf")
getter/setter pair
regularFontPath String?
All paths are relative to the Flutter project Path to regular font file (example: "fonts/regular.ttf")
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asMap() Map<String, dynamic>
Returns the Fonts object as map.
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