network static method

Widget network(
  1. String url, {
  2. Alignment alignment = Alignment.center,
  3. bool allowDrawingOutsideViewBox = false,
  4. Clip clipBehavior = Clip.hardEdge,
  5. ColorFilter? colorFilter,
  6. bool excludeFromSemantics = false,
  7. BoxFit fit = BoxFit.contain,
  8. Map<String, String>? headers,
  9. double? height,
  10. Key? key,
  11. bool matchTextDirection = false,
  12. WidgetBuilder? placeholderBuilder,
  13. String? semanticsLabel,
  14. SvgTheme theme = const SvgTheme(),
  15. double? width,
})

Implementation

static Widget network(
  String url, {
  Alignment alignment = Alignment.center,
  bool allowDrawingOutsideViewBox = false,
  Clip clipBehavior = Clip.hardEdge,
  ColorFilter? colorFilter,
  bool excludeFromSemantics = false,
  BoxFit fit = BoxFit.contain,
  Map<String, String>? headers,
  double? height,
  Key? key,
  bool matchTextDirection = false,
  WidgetBuilder? placeholderBuilder,
  String? semanticsLabel,
  SvgTheme theme = const SvgTheme(),
  double? width,
}) =>
    svgFromNetwork(
      url,
      alignment: alignment,
      allowDrawingOutsideViewBox: allowDrawingOutsideViewBox,
      clipBehavior: clipBehavior,
      colorFilter: colorFilter,
      excludeFromSemantics: excludeFromSemantics,
      fit: fit,
      headers: headers,
      height: height,
      key: key,
      matchTextDirection: matchTextDirection,
      placeholderBuilder: placeholderBuilder,
      semanticsLabel: semanticsLabel,
      theme: theme,
      width: width,
    );