From c9ebd42ba3404cffa41f40d8644f1923022f7e70 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Thu, 2 Mar 2023 21:12:22 -0800 Subject: [PATCH] Restore the ViewConfiguration.displayFeatures doc template (flutter/engine#40041) Restore the ViewConfiguration.displayFeatures doc template --- engine/src/flutter/lib/ui/window.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/src/flutter/lib/ui/window.dart b/engine/src/flutter/lib/ui/window.dart index a47ccd6bfd..6692d9b58c 100644 --- a/engine/src/flutter/lib/ui/window.dart +++ b/engine/src/flutter/lib/ui/window.dart @@ -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 @@ -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. ///