NavigationBar / toolbar custom shadow in SwiftUI

I'm trying to control a NavigationBar shadow in SwiftUI but unsuccessfully.
I want only change a color and size of shadow.

        NavigationStack {
            List {
                Text ("Item 1")
                Text ("Item 2")
                Text ("Item 3")
            .toolbarColorScheme(.light, for: .navigationBar)
            .toolbarBackground(.white, for: .navigationBar)
            .toolbarBackground(.visible, for: .navigationBar)

All variants with init and UINavigationBarAppearance and appearance.shadowImage don't work
Screenshot 2023-11-24 at 15.35.41

Hi. This forum is for discussions about the Open Source Swift language itself (ongoing development and use of). Your post appears to be more about usage of a framework (probably one usable by Swift). The forum owners think that these kinds of questions are better suited to be asked in other places. Probably the Apple Developer Forums or Stack Overflow. You are more likely to get answers there.

Good luck!