TrackerScreenshotManager class

Manager which takes screenshot of configured widget. Screenshot will be saved to file which can be reused later.

Constructors

TrackerScreenshotManager(TrackerLogger _logger)

Properties

containerKey GlobalKey<State<StatefulWidget>>
Unique global key used to create screenshot
no setter
hashCode int
The hash code for this object.
no setterinherited
path String
Update screenshots directory path.
no getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

captureAndSave({double? pixelRatio, Duration delay = const Duration(milliseconds: 20)}) Future<File?>
Create screenshot and save it in file. File will be created in directory specified in TrackerOptions.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveFile(Uint8List fileContent) Future<File>
toString() String
A string representation of this object.
inherited

Operators

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