network_image_plus 1.0.6 copy "network_image_plus: ^1.0.6" to clipboard
network_image_plus: ^1.0.6 copied to clipboard

Network Image Plus is a Flutter package that allows you to rendered images on the web using CanvasKit without CORS issues.

Network Image Plus is a Flutter package that allows you to rendered images on the web using CanvasKit without CORS issues.

Features #

This plugin uses HtmlElementView to create an img element and set the src to the url provided. If the plugin is running on a io platform, it will use the regular Image.network widget.

Getting started #

Add network_image_plus as a dependency in your pubspec.yaml file.

network_image_plus: ^1.0.6

or install it using the command

flutter pub add network_image_plus

Usage #

Import the package in your dart file

import 'package:network_image_plus/network_image_plus.dart';

const image = NetworkImagePlus(
  url: 'https://example.com/image.png',
  width: 100,
  height: 100,
  fit: BoxFit.cover,
);
1
likes
140
points
101
downloads

Publisher

verified publisherpintoverflow.com

Weekly Downloads

Network Image Plus is a Flutter package that allows you to rendered images on the web using CanvasKit without CORS issues.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, web

More

Packages that depend on network_image_plus