updateScrollbarConfig method
- ScrollbarConfig update(
- 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));