TestViewConfiguration constructor

TestViewConfiguration({Size size: _kDefaultTestViewportSize })

Creates a TestViewConfiguration with the given size. Defaults to 800x600.

Implementation

TestViewConfiguration({ Size size = _kDefaultTestViewportSize })
  : _paintMatrix = _getMatrix(size, ui.window.devicePixelRatio),
    _hitTestMatrix = _getMatrix(size, 1.0),
    super(size: size);