displayFeatures property

  1. @override
List<DisplayFeature> displayFeatures
override

The display features to use for this test.

Defaults to the value provided by FlutterView.displayFeatures. This can only be set in a test environment to emulate different view configurations. A standard FlutterView is not mutable from the framework.

See also:

Implementation

@override
List<DisplayFeature> get displayFeatures => _displayFeatures ?? _view.displayFeatures;
void displayFeatures=(List<DisplayFeature> value)

Implementation

set displayFeatures(List<DisplayFeature> value) {
  _displayFeatures = value;
  platformDispatcher.onMetricsChanged?.call();
}