diff --git a/packages/flutter/lib/src/services/system_chrome.dart b/packages/flutter/lib/src/services/system_chrome.dart index 2d1e04e501..f3dd33f4e5 100644 --- a/packages/flutter/lib/src/services/system_chrome.dart +++ b/packages/flutter/lib/src/services/system_chrome.dart @@ -152,6 +152,10 @@ class SystemChrome { /// overwrite the pending value, such that only the last specified value takes /// effect. /// + /// Call this API in code whose lifecyle matches that of the desired + /// system UI styles. For instance, to change the system UI style on a new + /// page, consider calling when pushing/popping a new [PageRoute]. + /// /// If a particular style is not supported on the platform, selecting it will /// have no effect. static void setSystemUIOverlayStyle(SystemUiOverlayStyle style) {