scrollbarStyle property

EnvironmentScrollbarStyle? scrollbarStyle
final

The ScrollBar style being set on the WebView2 Environment.

The default value is EnvironmentScrollbarStyle.DEFAULT which specifies the default browser ScrollBar style. The color-scheme CSS property needs to be set on the corresponding page to allow ScrollBar to follow light or dark theme. Please see color-scheme for how color-scheme can be set. CSS styles that modify the ScrollBar applied on top of native ScrollBar styling that is selected with scrollbarStyle.

Officially Supported Platforms/Implementations:

Implementation

final EnvironmentScrollbarStyle? scrollbarStyle;