shouldAlwaysShowScrollbar property

bool shouldAlwaysShowScrollbar
final

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.

SfTreemap(
           legend:Legend(
             isVisible: true,
             shouldAlwaysShowScrollbar: true,
             overflowMode: TreemapLegendOverflowMode.scroll,
            )
          )

Implementation

final bool shouldAlwaysShowScrollbar;