WidgetTestFrame class final

One deterministic frame snapshot captured by WidgetTester.

Constructors

WidgetTestFrame({required int sequence, required int pumpCount, required int width, required int height, required String trigger, required String view})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
Terminal height used for this frame.
final
lines List<String>
ANSI-stripped lines from view, useful for stable assertions.
no setter
pumpCount int
Pump count at the moment the frame was captured.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequence int
Monotonic frame sequence within one tester instance.
final
trigger String
Stable label describing what caused the capture.
final
view String
Canonical rendered view string from the current WidgetApp.
final
width int
Terminal width used for this frame.
final

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