memory_image_converter 0.0.1

Dart

A command line app that will convert an image into a Uint8List which works with Flutter's MemoryImage, Image.memory, or FadeInImage.memoryNetwork classes.

memory_image_converter #

A command line app that will convert an image into a Uint8List which can be consumed by a Flutter app using the MemoryImage, Image.memory, or FadeInImage.memoryNetwork classes.

Installation #

In your terminal:

pub global activate memory_image_converter 

Usage #

This command-line tool takes two arguments:

  1. The name of the variable you wish to define
  2. The path to the image you wish to convert
pub global run memory_image_converter myImage test.png

Write the output to a dart file #

pub global run memory_image_converter myImage test.png > my_image.dart

Once more, with pub-cache in your $PATH #

memory_image_converter myImage test.png > my_image.dart
3
likes
80
pub points
48%
popularity

A command line app that will convert an image into a Uint8List which works with Flutter's MemoryImage, Image.memory, or FadeInImage.memoryNetwork classes.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

brian@brianegan.com

License

MIT (LICENSE.md)

More

Packages that depend on memory_image_converter