of static method
Returns the data from the closest ScrollbarTheme ancestor. If there is no ancestor, it returns FluentThemeData.scrollbarTheme. Applications can assume that the returned value will not be null.
Typical usage is as follows:
ScrollbarThemeData theme = ScrollbarTheme.of(context);
Implementation
static ScrollbarThemeData of(BuildContext context) {
return ScrollbarThemeData.standard(FluentTheme.of(context)).merge(
_getInheritedThemeData(context),
);
}