NvGoldenMultiple.devices constructor
NvGoldenMultiple.devices({})
Constructor for device tests
Implementation
NvGoldenMultiple.devices({
required List<Screen> deviceSizes,
BoxDecoration? decoration,
required Widget Function(Widget child)? wrap,
this.wrapScenario,
}) : nrColumns = deviceSizes.length,
_scenarios = [],
_deviceSizes = deviceSizes,
decoration = decoration ?? BoxDecoration(border: Border.all()),
assert(deviceSizes.isNotEmpty),
super(wrap: wrap);