WhatEverImage function

Widget WhatEverImage(
  1. String url,
  2. double height
)

Implementation

Widget WhatEverImage (String url, double height) =>  SvgPicture.network(
  url,
  height: height,
  placeholderBuilder: (context) {
    return Image(
        image: NetworkImage(url),
        height: height,
        errorBuilder: (context, o, stackTrace) {
          return SizedBox();
        });
  },
);