useScrollbar method

void useScrollbar({
  1. ScrollController? controller,
  2. bool? thumbVisibility,
  3. bool? trackVisibility,
  4. double? thickness,
  5. Radius? radius,
  6. ScrollNotificationPredicate? notificationPredicate,
  7. bool? interactive,
  8. ScrollbarOrientation? scrollbarOrientation,
})

Implementation

void useScrollbar({
  ScrollController? controller,
  bool? thumbVisibility,
  bool? trackVisibility,
  double? thickness,
  Radius? radius,
  ScrollNotificationPredicate? notificationPredicate,
  bool? interactive,
  ScrollbarOrientation? scrollbarOrientation,
}) =>
    _add((w) => Scrollbar(
          child: w,
          controller: controller,
          thumbVisibility: thumbVisibility,
          trackVisibility: trackVisibility,
          thickness: thickness,
          radius: radius,
          notificationPredicate: notificationPredicate,
          interactive: interactive,
          scrollbarOrientation: scrollbarOrientation,
        ));