shouldOverrideUrlLoading method
Implementation
@override
bool shouldOverrideUrlLoading(String url) {
if (url.startsWith(_NAVIGATION_URL_PREFIX)) {
final route = url.substring(_NAVIGATION_URL_PREFIX.length);
Navigator.pushNamed(contextProvider(), route);
return true;
}
return false;
}