Skip to content

Commit

Permalink
Restore the ViewConfiguration.displayFeatures doc template (flutter#4…
Browse files Browse the repository at this point in the history
…0041)

Restore the ViewConfiguration.displayFeatures doc template
  • Loading branch information
jason-simmons authored Mar 3, 2023
1 parent 4d2a949 commit cd39093
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ui/window.dart
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ class FlutterView {
/// touch slop constant.
GestureSettings get gestureSettings => _viewConfiguration.gestureSettings;

/// {@template dart.ui.ViewConfiguration.displayFeatures}
/// Areas of the display that are obstructed by hardware features.
///
/// This list is populated only on Android. If the device has no display
Expand All @@ -249,6 +250,7 @@ class FlutterView {
/// Folding [DisplayFeature]s like the [DisplayFeatureType.hinge] and
/// [DisplayFeatureType.fold] also have a [DisplayFeature.state] which can be
/// used to determine the posture the device is in.
/// {@endtemplate}
///
/// When this changes, [PlatformDispatcher.onMetricsChanged] is called.
///
Expand Down

0 comments on commit cd39093

Please sign in to comment.