url constant Null safety

String const url

The input field expects a URL.

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

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

Implementation

static const String url = 'url';