Scrollbar constructor
const
Scrollbar({
- Key? key,
- required Widget child,
- ScrollController? controller,
- bool autofocus = false,
- FocusNode? focusNode,
- double minThumbLength = _kMinThumbExtent,
- bool isAlwaysShown = true,
- double? thickness,
- ScrollNotificationPredicate notificationPredicate = defaultScrollNotificationPredicate,
Creates a desktop Scrollbar.
Implementation
const Scrollbar({
super.key,
required this.child,
this.controller,
this.autofocus = false,
this.focusNode,
this.minThumbLength = _kMinThumbExtent,
this.isAlwaysShown = true,
this.thickness,
this.notificationPredicate = defaultScrollNotificationPredicate,
});