TestViewConfiguration constructor
- @Deprecated('Use TestViewConfiguration.fromView instead. ' 'Deprecated to prepare for the upcoming multi-window support. ' 'This feature was deprecated after v3.7.0-32.0.pre.')
- Size size = _kDefaultTestViewportSize,
- FlutterView? window,
Deprecated. Will be removed in a future version of Flutter.
This property has been deprecated to prepare for Flutter's upcoming support for multiple views and multiple windows.
Use TestViewConfiguration.fromView instead.
Implementation
@Deprecated(
'Use TestViewConfiguration.fromView instead. '
'Deprecated to prepare for the upcoming multi-window support. '
'This feature was deprecated after v3.7.0-32.0.pre.'
)
factory TestViewConfiguration({
Size size = _kDefaultTestViewportSize,
ui.FlutterView? window,
}) {
return TestViewConfiguration.fromView(size: size, view: window ?? ui.window);
}