isWidgetNavigation function
Implementation
bool isWidgetNavigation(Uri target, Uri widgetUrl) =>
target.scheme == widgetUrl.scheme &&
target.host == widgetUrl.host &&
target.port == widgetUrl.port &&
target.path == widgetUrl.path &&
target.query == widgetUrl.query;