copyWith method
Creates a copy of this ScrollbarConfig with the given fields replaced.
Implementation
ScrollbarConfig copyWith({bool? visible, ScrollbarThemeData? themeData}) {
return ScrollbarConfig(
visible: visible ?? this.visible,
themeData: themeData ?? this.themeData,
);
}