InputConfiguration class

Constructors

InputConfiguration({InputDecoration cardHolderDecoration = const InputDecoration(labelText: AppConstants.cardHolder), InputDecoration cardNumberDecoration = const InputDecoration(labelText: AppConstants.cardNumber, hintText: AppConstants.sixteenX), InputDecoration expiryDateDecoration = const InputDecoration(labelText: AppConstants.expiryDate, hintText: AppConstants.expiryDateShort), InputDecoration cvvCodeDecoration = const InputDecoration(labelText: AppConstants.cvv, hintText: AppConstants.threeX), TextStyle? cardNumberTextStyle, TextStyle? cardHolderTextStyle, TextStyle? expiryDateTextStyle, TextStyle? cvvCodeTextStyle})
Provides InputDecoration and TextStyle to CreditCardForm's TextField.
const

Properties

cardHolderDecoration InputDecoration
Provides decoration to card holder text field.
final
cardHolderTextStyle TextStyle?
Provides textStyle to card holder text field.
final
cardNumberDecoration InputDecoration
Provides decoration to card number text field.
final
cardNumberTextStyle TextStyle?
Provides textStyle to card number text field.
final
cvvCodeDecoration InputDecoration
Provides decoration to cvv code text field.
final
cvvCodeTextStyle TextStyle?
Provides textStyle to cvv code text field.
final
expiryDateDecoration InputDecoration
Provides decoration to expiry date text field.
final
expiryDateTextStyle TextStyle?
Provides textStyle to expiry date text field.
final
hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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