network_image_to_byte 0.0.1
network_image_to_byte: ^0.0.1 copied to clipboard
Convert network image to byte data as type Uint8List
network_image_to_byte #
Convert network image to byte data as type Uint8List
Example #
import 'package:network_image_to_byte/network_image_to_byte.dart';
import 'dart:typed_data';
Future<Uint8List> _networkImageToByte() async {
Uint8List byteImage = await networkImageToByte('https://example.com/example.png');
return byteImage;
}
copied to clipboard
Getting Started #
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.