scroll_screenshot
0.0.8, released a year ago by vinothmuthu.in
Capture full‑page Flutter screenshots, including off‑screen content, via a simple API.
What it does
The package renders a widget tree to an image, scrolling internally to capture content that is not visible on screen. It returns the screenshot as a Base64 string and can also save it automatically.
AI-written summary of version 0.0.8, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to export a complete view of a scrollable widget as an image
- You want a quick way to share or archive long lists or pages
- Cross‑platform support (Android, iOS, Windows, macOS, Linux) is required
Skip it when
- Real‑time video or animation capture is needed
- You require fine‑grained control over image format or compression beyond Base64
Strengths
- Very simple API – just call captureAndSaveScreenshot with a GlobalKey
- Works on all major Flutter platforms
- No additional native setup or permissions required
Weaknesses
- May be memory‑intensive for very large scrollable content
- Limited to static screenshots – no video or animated capture
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
import 'package:flutter/material.dart';
import 'package:scroll_screenshot/scroll_screenshot.dart';
final GlobalKey key = GlobalKey();
Future<void> capture() async {
final base64 = await ScrollScreenshot.captureAndSaveScreenshot(key);
print(base64);
}
Alternatives
Packages that do the same job and could replace scroll_screenshot.
- flutter_screen_capture
Capture the whole screen, a region, or a pixel color on macOS and Windows.
67Compare - two_dimensional_scrollables
Widgets for two‑dimensional scrolling like TableView and TreeView
94Compare - screenshot
Capture any widget as an image, including invisible widgets, at runtime.
50Compare - insta_image_viewer
Full‑screen image viewer with swipe‑to‑dismiss and pinch‑zoom
50Compare
Works with
Packages commonly used together with scroll_screenshot: ones it builds on, ones built on it, and its own family.