shouldAlwaysShowScrollbar property
Toggles the scrollbar visibility.
When set to false, the scrollbar appears only when scrolling else the scrollbar fades out. When true, the scrollbar will never fade out and will always be visible when the items are overflown.
Defaults to false
.
SfCartesianChart(
legend:Legend(
isVisible: true,
shouldAlwaysShowScrollbar: true
)
)
Implementation
final bool shouldAlwaysShowScrollbar;