resize
This commit is contained in:
parent
cdcdec9915
commit
62793908a7
|
@ -95,7 +95,7 @@ class WidgetTesterAppDriverAdapter extends AppDriverAdapter<WidgetTester, Finder
|
||||||
.then((value) {
|
.then((value) {
|
||||||
final image = decodePng(value);
|
final image = decodePng(value);
|
||||||
final resized = copyResize(image!, width: 120);
|
final resized = copyResize(image!, width: 120);
|
||||||
final resizedByteData = encodePng(image);
|
final resizedByteData = encodePng(resized);
|
||||||
return resizedByteData!.buffer.asUint8List();
|
return resizedByteData!.buffer.asUint8List();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue