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
.
MapShapeLayer(
legend:MapLegend(
isVisible: true,
shouldAlwaysShowScrollbar: true,
overflowMode: MapLegendOverflowMode.scroll,
)
)
Implementation
final bool shouldAlwaysShowScrollbar;