PlaybookScreenshotStep class
A screenshot() step: the screen to capture, by name, in each of
locales and themes.
Properties
-
action
→ Future<void> Function(PlaybookActor actor)
-
Performs the step.
finalinherited
-
caption
→ String?
-
The text above the screen when a run frames its screenshots. A
translation key is translated into each locale the step captures.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
locales
→ List<String>?
-
The language codes to capture the screen in, or null for the current
one. Screenshot.allLocales is every bundled language.
final
-
name
→ String
-
The name the capture is saved under.
final
-
native
→ bool
-
Whether Metro captures the whole screen with the iOS Simulator or
adb, status bar and keyboard included, when it can. False always uses
the app's own capture.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
themes
→ List<String>?
-
The theme ids to capture the screen in, or null for the current one.
Screenshot.allThemes is every registered theme.
final
-
title
→ String
-
What the step does, shown in the caption and the report.
finalinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited