binary_image_generator 0.0.1 binary_image_generator: ^0.0.1 copied to clipboard
A Flutter package to generate customizable 5x5 grid images based on a 15-bit binary string. Define background and square colors, and receive the generated image as a Uint8List for reuse or further pro [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add binary_image_generator
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
binary_image_generator: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:binary_image_generator/binary_image_generator.dart';