@ -126,7 +126,7 @@ final Encode result = zx.encodeBarcode(
),
);
if (result.isValid) {
final img = imglib.Image.fromBytes(width, height, result.bytes);
final img = imglib.Image.fromBytes(width, height, result.data);
final encodedBytes = Uint8List.fromList(imglib.encodeJpg(img));
// use encodedBytes as you wish
}
@ -148,7 +148,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.10.0"
version: "1.0.0-beta.1"
font_awesome_flutter:
dependency: "direct main"
description:
@ -359,4 +359,4 @@ packages:
version: "6.1.0"
sdks:
dart: ">=2.18.0 <3.0.0"
flutter: ">=3.0.0"
flutter: ">=3.3.0"
@ -23,7 +23,7 @@ extern "C"
FUNCTION_ATTRIBUTE
char const *version()
{
return "1.4.0";
return "2.0.0";