Have you ever had problems using canvaskit with images without cors? With this package, you can display images without cors.

Features

  • Working with canvaskit
  • Support formats: jpg, png, gif
  • Support images without cors

Installation

Add show_network_image as a dependency.

import :

import 'package:show_network_image/show_network_image.dart';

Usage

Show Image

ShowNetworkImage(
        imageSrc:
        'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3QCRzKMKYOH5-VALcnTfMD_xclnCTXS5z1SBMTGkYkGJYKGnjb-9trbxaPN2pn4kInp9Bcn4Uti1Cs65Kv9bKtNnjLBNEsdz3Hivryd2aLuWzTx9Uy2Jmv_0MbhkKQjNT0fuGcSFXfXzg2S1Icl1aaNe73ReuFaOSbjcJubK2n7mWk3TvyLSVhW9l/s1600/mavi1.png',
        mobileBoxFit: BoxFit.fill,
        mobileHeight: 300,
        mobileWidth: 300,
    ),

Libraries

show_network_image