loadFromWeb static method

Future<Uint8List> loadFromWeb(
  1. dynamic url, {
  2. double? widthMax,
  3. double? heightMax,
  4. int? quality,
})

Loads an image from the given url.

Keep in mind to adjust the server CORS settings.

Implementation

static Future<Uint8List> loadFromWeb(url,
    {double? widthMax, double? heightMax, int? quality}) async {
  return await ImageLoad.loadImageWeb(url,
      widthMax: widthMax, heightMax: heightMax, quality: quality);
}