environment value
Last updated
Was this helpful?
Last updated
Was this helpful?
โฉ โฉ โฉ value
A defined collection of values related to a view.
Some of these automatically reflect system state, user settings, or . Examples include the color scheme, text style, or focus state of the view.
Others provide useful default values, such as a line limit for text fields.
Find many built-in environment values in .
Create a custom property by:
defining a new property in an to the EnvironmentValues
structure and
applying the macro to the variable declaration.
dismiss๏ผAn action that dismisses the current presentation.