Reputation: 425
I am using an invisible widget StaggeredGridView which is bigger than the height of the emulator/mobile. The image is rendering only a part of it, I didn't find any answer relevant to this problem
screenshotController
.captureFromWidget(
StaggeredGridView.count(
crossAxisCount: 4,
staggeredTiles: _staggeredTiles,
children: _tiles,
),)
.then((capturedImage) {
// Handle captured image
ImageGallerySaver.saveImage(
Uint8List.fromList(capturedImage),
quality: 90,
name: "WomanVerseWallpaper");
});
The screen which I want to take a screenshot of the widget (bigger than the screen, it continues)
What I'm getting
Upvotes: 1
Views: 987