PayorcSdkTextCustomization class

Host typography overrides for the PayOrc SDK.

Pass to PayorcSdk.customization as the text argument. Each non-null field is applied; omitted fields keep values from earlier customization calls or checkout API defaults.

Additional fields can be added over time without breaking callers.

Constructors

PayorcSdkTextCustomization({Color? primary, Color? secondary, PayorcSdkFontFamily? bodyFontFamily, PayorcSdkFontFamily? titleFontFamily, FontWeight? fontWeight, double? fontSize, double? letterSpacing, TextAlign? textAlign, int? maxLines, TextOverflow? overflow, TextDecoration? decoration, double? wordSpacing, bool? softWrap, List<Shadow>? shadows, FontStyle? fontStyle})
const

Properties

bodyFontFamily → PayorcSdkFontFamily?
Optional font family for body and labels.
final
decoration → TextDecoration?
Optional default text decoration.
final
fontSize → double?
Optional default font size for SDK text widgets.
final
fontStyle → FontStyle?
Optional default font style.
final
fontWeight → FontWeight?
Optional default weight for SDK text widgets.
final
hashCode → int
The hash code for this object.
no setterinherited
letterSpacing → double?
Optional default letter spacing.
final
maxLines → int?
Optional default max lines for display text.
final
overflow → TextOverflow?
Optional default overflow behavior for display text.
final
primary → Color?
Primary body / title text on light surfaces (maps to SDK primary text).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secondary → Color?
Secondary / supporting text.
final
shadows → List<Shadow>?
Optional default shadows.
final
softWrap → bool?
Optional default softWrap behavior for display text.
final
textAlign → TextAlign?
Optional default text alignment.
final
titleFontFamily → PayorcSdkFontFamily?
Optional font family for display / headline / title TextTheme styles.
final
wordSpacing → double?
Optional default word spacing.
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