MediaQueryData.fromWindow constructor

  1. @Deprecated('Use MediaQueryData.fromView instead. ' 'This constructor was deprecated in preparation for the upcoming multi-window support. ' 'This feature was deprecated after v3.7.0-32.0.pre.')
MediaQueryData.fromWindow(
  1. FlutterView window
)

Deprecated. Use MediaQueryData.fromView instead.

This constructor was operating on a single window assumption. In preparation for Flutter's upcoming multi-window support, it has been deprecated.

Implementation

@Deprecated(
  'Use MediaQueryData.fromView instead. '
  'This constructor was deprecated in preparation for the upcoming multi-window support. '
  'This feature was deprecated after v3.7.0-32.0.pre.'
)
factory MediaQueryData.fromWindow(ui.FlutterView window) = MediaQueryData.fromView;