Sets the visual style for the scroll edge effect.
.scrollEdgeEffectStyle(props: {
style?: "automatic" | "soft" | "hard";
edges?: EdgeSet;
}): Component
ScrollView([
ForEach(items, (item) =>
Text(item.name).padding(12)
)
]).scrollEdgeEffectStyle({ style: "soft" })
ScrollView([
ForEach(items, (item) =>
Text(item.name).padding(12)
)
]).scrollEdgeEffectStyle({ style: "hard", edges: "vertical" })