Instance Method

preferredColorScheme(_:)

Sets the preferred color scheme for this view.

Declaration

func preferredColorScheme(_ colorScheme: ColorScheme?) -> some View