TestViewConfiguration constructor Null safety
- {Size size = _kDefaultTestViewportSize,
- FlutterView? window}
Creates a TestViewConfiguration with the given size. Defaults to 800x600.
If a window
instance is not provided it defaults to ui.window.
Implementation
factory TestViewConfiguration({
Size size = _kDefaultTestViewportSize,
ui.FlutterView? window,
}) {
return TestViewConfiguration._(size, window ?? ui.window);
}