Last updated:
0 purchases
network image plus
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
copied to clipboard
or install it using the command
flutter pub add network_image_plus
copied to clipboard
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,
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.