loadFromWeb static method

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

Loads an image from the given url.

Keep in mind to adjust the server CORS settings.

Implementation

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