Is it possible to adjust brightness in SwiftUI?

In Swift there is a UIScreen.main.brightness = 1.0. But I couldn't find anything similar in SwiftUI. I need to adjust brightness in my watch os app. Is it even possible? Thanks in advance

Have you tried the exact code in your watchOS app?

Yes it says Cannot find 'UIScreen' in scope even If I import UIKit

Is it possible to adjust brightness in SwiftUI?
 
 
Q