updateScrollbarConfig method

ChartTheme updateScrollbarConfig(
  1. ScrollbarConfig update(
    1. ScrollbarConfig current
    )
)

Rebuilds ChartTheme.scrollbarConfig from its current value.

update receives the current ScrollbarConfig and returns the replacement, so nested configuration is edited without re-stating the enclosing config.

Implementation

ChartTheme updateScrollbarConfig(
  ScrollbarConfig Function(ScrollbarConfig current) update,
) => copyWith(scrollbarConfig: update(scrollbarConfig));