location constant Null safety

String const location

The input field expects a location, such as a point of interest, an address,or another way to identify a location.

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

  • iOS: location.
  • Otherwise, the hint string will be used as-is.

Implementation

static const String location = 'location';