FLUTTER ECOSYSTEM

image_network

Image Network is a package that allows you to render images on the web using CanvasKit without having problems with CORS

image_network cover
Latest version
2.6.0
30-day downloads
10.9K
Likes
160
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

Image Network is a Flutter package designed to render images on the web using CanvasKit, effectively bypassing CORS restrictions that commonly hinder image loading in web environments. By leveraging CanvasKit, it enables seamless image display from external sources without requiring server-side configuration. The package is particularly useful for applications that rely heavily on remote image assets and need consistent rendering across different platforms. It supports both iOS and web platforms, ensuring cross-platform compatibility.

Use cases
  • Loading remote images on web without CORS issues
  • Rendering images in Flutter web apps with CanvasKit
  • Displaying user-uploaded or third-party images reliably
  • Integrating dynamic image content in web-based Flutter apps
  • Ensuring consistent image rendering across platforms
Key features
  • Uses CanvasKit for web image rendering
  • Bypasses CORS limitations on web
  • Supports iOS and web platforms
  • Simple integration via pub add
  • Optimized performance for remote images
Suitable for
  • Web developers using Flutter with remote image sources
  • Apps requiring reliable image loading on the web
  • Developers facing CORS-related image loading problems
  • Cross-platform Flutter projects with image-heavy UIs
  • Projects leveraging CanvasKit for graphics
Considerations
  • Limited to web and iOS platforms
  • Requires CanvasKit support in web builds
  • May have performance overhead for large images
  • Not suitable for native Android or desktop
  • Dependent on external image URLs being accessible
Supported platformsiOSWeb

Install package

flutter pub add image_network

Categories

Dependencies

Dependency list 2 items
  • http>=0.13.6 <2.0.0
  • webviewimage>=0.0.4 <1.0.0

Source repository

Related projects