svgNetworkWithUrl method

Finder svgNetworkWithUrl(
  1. String url, {
  2. bool skipOffstage = true,
})

Finds widgets created by SvgPicture.network with the url argument.

Sample code

expect(find.svgNetworkWithUrl('https://svg.dart'), findsOneWidget);

This will match SvgPicture.network with the url https://svg.dart'. If the skipOffstage argument is true (the default), then this skips nodes that are Offstage or that are from inactive Routes.

Implementation

Finder svgNetworkWithUrl(String url, {bool skipOffstage = true}) {
  return _SvgNetworkWithUrlFinder(url: url, skipOffstage: skipOffstage);
}