Skip to content
pubscout

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.

WASM-ready
$ flutter pub add scroll_screenshot
Source repository

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.

Works with

Packages commonly used together with scroll_screenshot: ones it builds on, ones built on it, and its own family.