๐Ÿ”ธenvironment value

SwiftUI โŸฉ view โŸฉ environment โŸฉ value

// read the color scheme (an environment value) of the current view
@Environment(\.colorScheme) var colorScheme: ColorScheme
  • dismiss๏ผšAn action that dismisses the current presentation.

Last updated

Was this helpful?