creditCardType constant Null safety

String const creditCardType

The input field expects the type of a credit card, for example "Visa".

This hint will be translated to the below values on different platforms:

  • web: "cc-type".
  • Otherwise, the hint string will be used as-is.

Implementation

static const String creditCardType = 'creditCardType';