BarcodeImage class final
A created barcode as an 8-bit grayscale raster (0 = black, 255 = white).
- Annotations
Constructors
- BarcodeImage({required int width, required int height, required Uint8List pixels})
-
Wraps a raster.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPng(
) → Future< Uint8List> - Encodes the image as PNG (with the Flutter engine's encoder).
-
toString(
) → String -
A string representation of this object.
inherited
-
toUiImage(
) → Future< Image> -
Converts the image for drawing with
CanvasorRawImage. The caller owns the result and shoulddispose()it.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited