dvHomeWidgetLaunchHost top-level constant

String const dvHomeWidgetLaunchHost

The host a home widget's launch link carries.

It says what kind of link this is, which is the only thing separating a widget's tap from an ordinary dartvel:// deep link the application also handles. Without a host of its own the route would start at the authority, and dartvel://widgets/order-status parses with widgets as the host and order-status as the whole path -- so an application that handles both kinds of link could not tell them apart at all.

Implementation

const String dvHomeWidgetLaunchHost = 'widget';