CardFieldState constructor

CardFieldState({
  1. required bool isValid,
  2. String? errorMessage,
  3. bool isOnFocused = false,
  4. required int length,
})

Implementation

CardFieldState({
  required this.isValid,
  this.errorMessage,
  this.isOnFocused = false,
  required this.length,
});