This commit is contained in:
Hamza-Ayed
2023-10-19 20:19:02 +03:00
parent 805754a599
commit 02bdc83e72
14 changed files with 407 additions and 121 deletions

View File

@@ -176,7 +176,8 @@ class CreditCardWidget extends StatelessWidget {
inputFormatters: [DigitObscuringFormatter()],
validator: (value) {
if (value!.isEmpty || value.length != 16) {
return 'Please enter a valid 16-digit card number';
return 'Please enter a valid 16-digit card number'
.tr;
}
return null;
},