forked from SimformSolutionsPvtLtd/flutter_credit_card
-
Notifications
You must be signed in to change notification settings - Fork 1
/
localized_text_model.dart
30 lines (28 loc) · 1.11 KB
/
localized_text_model.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
class LocalizedText {
const LocalizedText({
this.cardNumberLabel = _cardNumberLabelDefault,
this.cardNumberHint = _cardNumberHintDefault,
this.expiryDateLabel = _expiryDateLabelDefault,
this.expiryDateHint = _expiryDateHintDefault,
this.cvvLabel = _cvvLabelDefault,
this.cvvHint = _cvvHintDefault,
this.cardHolderLabel = _cardHolderLabelDefault,
this.cardHolderHint = _cardHolderHintDefault,
});
static const String _cardNumberLabelDefault = 'Card number';
static const String _cardNumberHintDefault = 'xxxx xxxx xxxx xxxx';
static const String _expiryDateLabelDefault = 'Expiry Date';
static const String _expiryDateHintDefault = 'MM/YY';
static const String _cvvLabelDefault = 'CVV';
static const String _cvvHintDefault = 'XXXX';
static const String _cardHolderLabelDefault = 'Card Holder';
static const String _cardHolderHintDefault = '';
final String cardNumberLabel;
final String cardNumberHint;
final String expiryDateLabel;
final String expiryDateHint;
final String cvvLabel;
final String cvvHint;
final String cardHolderLabel;
final String cardHolderHint;
}