IDFlowTextConfig class

Fonts and text colors of the SDK screens. A null value keeps the default look.

Fonts are asset paths declared in the app's pubspec.yaml, e.g. fonts/MyFont-Medium.ttf. A font that cannot be loaded falls back to the default. Colors are #RRGGBB strings.

Constructors

IDFlowTextConfig({String? fontRegular, String? fontMedium, String? fontBold, String? messageColor, String? countdownColor, String? infoColor, String? instructionColor, String? buttonColor, String? previewColor, String? dialogColor})
const
IDFlowTextConfig.fromJson(Map<String, dynamic> json)
factory

Properties

buttonColor → String?
final
countdownColor → String?
final
dialogColor → String?
Android only: the iOS SDK has no exit dialog.
final
fontBold → String?
final
fontMedium → String?
final
fontRegular → String?
final
hashCode → int
The hash code for this object.
no setterinherited
infoColor → String?
final
instructionColor → String?
final
messageColor → String?
final
previewColor → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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