Skip to main content
.scrollContentBackground(visibility: 'hidden' | 'visible'): Component;

Parameters

visibility
'hidden' | 'visible'
Controls whether the scroll view background is visible. Options are “hidden” or “visible”.

Support

Usage

Hide scroll background

ScrollView([
    VStack([
        Text("Content with transparent background"),
        Image("background-image")
    ])
]).scrollContentBackground("hidden")