language constant Null safety

String const language

The input field expects the preferred language of the user.

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

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

Implementation

static const String language = 'language';