Scenario class
A Wrapper around the widget to be tested used by NvGolden.grid as well as NvGolden.devices.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screen → Screen
-
final
- size → Size
-
Compute the size the scenario will take up including padding, border, etc.
no setter
- widget → Widget
-
final
- wrap → Widget Function(Widget child)?
-
final
Methods
-
build(
BoxDecoration? decoration) → Widget - Build the scenario with paddings, outlines etc to better distinguish them once several scenarios are being tested. This is being used by NvGoldenMultiple.
-
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