NvGolden.grid constructor

NvGolden.grid({
  1. required int nrColumns,
  2. Screen? screen,
  3. Widget wrap(
    1. Widget child
    )?,
  4. Widget wrapScenario(
    1. Widget child
    )?,
  5. BoxDecoration? decoration,
})

Constructor for widget tests

Implementation

NvGolden.grid({
  required this.nrColumns,
  Screen? screen,
  this.wrap,
  this.wrapScenario,
  this.decoration,
})  : _scenarios = [],
      _deviceSizes = screen != null ? [screen] : [];