TestViewConfiguration.fromView constructor
- {required FlutterView view,
- Size size = _kDefaultTestViewportSize}
Creates a TestViewConfiguration with the given size and view.
The size defaults to 800x600.
Implementation
TestViewConfiguration.fromView({required ui.FlutterView view, super.size = _kDefaultTestViewportSize})
: _paintMatrix = _getMatrix(size, view.devicePixelRatio, view),
super(devicePixelRatio: view.devicePixelRatio);