ScrollbarTheme constructor Null safety

const ScrollbarTheme(
  1. {Key? key,
  2. required ScrollbarThemeData data,
  3. required Widget child}
)

Constructs a scrollbar theme that configures all descendant Scrollbar widgets.

Implementation

const ScrollbarTheme({
  Key? key,
  required this.data,
  required Widget child,
}) : super(key: key, child: child);