image_network 2.1.0+1 copy "image_network: ^2.1.0+1" to clipboard
image_network: ^2.1.0+1 copied to clipboard

outdated

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

Image Network #

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

Build

Features #

  • Image Manager (Android - Ios -Web)
  • Use the CanvasKit renderer.
  • No problems with CORS
  • Fast loading
  • Image cache (Android && Ios)
  • Image from Url:
    • (Web) accept http or https image
    • (Android && Ios) accept https images

Installation #

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

Import Photo View:

import 'package:image_network/image_network.dart';

Usage #

URL Image

String imageUrl = "https://scaffoldtecnologia.com.br/wp-content/uploads/2021/10/app-2.png";

Image Network

ImageNetwork(
    image: imageUrl,
    height: 450,
    width: 250,
    duration: 1500,
    curve: Curves.easeIn,
    onPointer: true,
    cacheAndroidIos: true,
    fitAndroidIos: BoxFit.cover,
    fitWeb: BoxFitWeb.cover,
    borderRadius: BorderRadius.circular(70),
    onTap: () {
      debugPrint("©gabriel_patrick_souza");
    },
  )

License #

Copyright (c) 2021 Gabriel Patrick Souza

MIT License

151
likes
0
pub points
96%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

connectivity_plus, flutter, http, shared_preferences, webviewx

More

Packages that depend on image_network