ScreenshotManagerService class

Service for capturing, storing and sharing screenshots

Constructors

ScreenshotManagerService.new()
factory

Properties

captureGroupsCount int
no setter
hashCode int
The hash code for this object.
no setterinherited
isProcessing bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storedScreenshotsCount int
no setter

Methods

captureScreen(GlobalKey<State<StatefulWidget>> repaintKey, {String? customName, int? quality, List<Map<String, dynamic>>? customSizes}) Future<bool>
Capture the current screen and store it locally
clearScreenshots() → void
Clear all stored screenshots
getAllGroupIds() List<String>
Get all group IDs
getAllScreenshots() List<ScreenshotData>
Get all stored screenshots
getScreenshotsForGroup(String groupId) List<ScreenshotData>
Get screenshots for a specific group
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processScreenshots({ShareMode? overrideMode, bool clearAfterProcessing = true}) Future<bool>
Process and share screenshots based on the configured share mode
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

wrapScreen({required Widget child, bool? showButtons, AlignmentGeometry? buttonPosition, Color? captureButtonColor, Color? shareButtonColor, ShareMode? overrideShareMode}) Widget
Create a widget that wraps the entire app with screenshot capture functionality