displayFeaturesTestValue property

  1. @Deprecated('Use WidgetTester.view.displayFeatures instead. ' 'Deprecated to prepare for the upcoming multi-window support. ' 'This feature was deprecated after v3.9.0-0.1.pre.')
set displayFeaturesTestValue (List<DisplayFeature> displayFeaturesTestValue)

Hides the real displayFeatures and reports the given displayFeaturesTestValue instead.

Implementation

@Deprecated(
  'Use WidgetTester.view.displayFeatures instead. '
  'Deprecated to prepare for the upcoming multi-window support. '
  'This feature was deprecated after v3.9.0-0.1.pre.'
)
set displayFeaturesTestValue(List<DisplayFeature> displayFeaturesTestValue) { // ignore: avoid_setters_without_getters
  _view.displayFeatures = displayFeaturesTestValue;
}