nullableDisplayFeatures property
List<DisplayFeature> ?
nullableDisplayFeatures
Returns the display features for the nearest MediaQuery ancestor or throws an exception if no such ancestor exists.
Implementation
List<DisplayFeature>? get nullableDisplayFeatures =>
MediaQuery.maybeDisplayFeaturesOf(this);