countryCode constant Null safety

String const countryCode

The input field expects an ISO 3166-1-alpha-2 country code.

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

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

Implementation

static const String countryCode = 'countryCode';