merge static method
Merges the nearest ScrollbarTheme with a specified child
.
Implementation
static Widget merge({
Key? key,
required ScrollbarThemeData data,
required Widget child,
}) {
return Builder(
key: key,
builder: (context) => ScrollbarTheme(
data: ScrollbarTheme.of(context).merge(data),
child: child,
),
);
}