network_image_plus 1.0.6
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.
import 'package:flutter/material.dart';
import 'package:network_image_plus/network_image_plus.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
body: Center(
child: NetworkImagePlus(
url: 'https://example.com/image.png',
width: 100,
height: 100,
fit: BoxFit.cover,
),
),
),
);
}
}