Whether to show or hide the default background. Use
"hidden" to remove the system background from Lists and other scrollable containers.Controls the visibility of the scroll content background.
.scrollContentBackground(visibility: "hidden" | "visible"): Component
"hidden" to remove the system background from Lists and other scrollable containers.List([
Section("Settings", [
Text("Account"),
Text("Notifications"),
Text("Privacy"),
])
])
.scrollContentBackground("hidden")
.background(Color("blue"))
const body = () => {
const [text, setText] = useState("")
return TextEditor({ text, setText })
.scrollContentBackground("hidden")
.background(Material("thin"))
}