PaymentCardFrontContent class

A configuration class that defines the front side of a PaymentCard.

Constructors

PaymentCardFrontContent(CardProgram program, CardType type, CardPreset preset, Color logoColor: EufemiaColors.white, int digits: 1358, String digitsText: 'KORTNUMMER', Alignment logoAlignment: Alignment.topLeft})

Properties

digits int
The 4 last un-masked digits to display (masked PAN).
final
digitsText String
The text to display above the masked digits.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
The logo to display.
final
logoAlignment Alignment
The alignment of the logo on the card.
final
logoColor Color
The color of the DNB logo.
final
preset CardPreset
The pre-defined preset to use for the widget.
final
program CardProgram
The program print to display.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type CardType
The issuer/type to display.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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