Add clarification to CupertinoUserInterfaceLevel docs (#116371)

This commit is contained in:
Mitchell Goodwin 2022-12-01 12:43:25 -07:00 committed by GitHub
parent 6bd5e47988
commit 0bb71df75f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,8 @@ enum CupertinoUserInterfaceLevelData {
}
/// Establishes a subtree in which [CupertinoUserInterfaceLevel.of] resolves to
/// the given data.
/// the given visual elevation from the [CupertinoUserInterfaceLevelData]. This
/// can be used to apply style differences based on a widget's elevation.
///
/// Querying the current elevation status using [CupertinoUserInterfaceLevel.of]
/// will cause your widget to rebuild automatically whenever the