Screenshot class

A screenshot taken from a widget test.

May also be just a single widget, not the entire screen

Constructors

Screenshot({required File file, Frame? initiator})
Creates a Screenshot that points to a file on disk.

Properties

file File
The file where the screenshot was saved to
final
hashCode int
The hash code for this object.
no setterinherited
initiator → Frame?
Call stack of the code that initiated the screenshot
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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