scrollbar method

Widget scrollbar({
  1. Key? key,
  2. ScrollController? controller,
  3. bool? thumbVisibility,
  4. bool? trackVisibility,
  5. double? thickness,
  6. Radius? radius,
  7. bool notificationPredicate(
    1. ScrollNotification
    )?,
  8. bool? interactive,
  9. ScrollbarOrientation? scrollbarOrientation,
})

滚动条

Implementation

Widget scrollbar({
  Key? key,
  ScrollController? controller,
  bool? thumbVisibility,
  bool? trackVisibility,
  double? thickness,
  Radius? radius,
  bool Function(ScrollNotification)? notificationPredicate,
  bool? interactive,
  ScrollbarOrientation? scrollbarOrientation,
}) =>
    Scrollbar(
      key: key,
      controller: controller,
      thumbVisibility: thumbVisibility,
      trackVisibility: trackVisibility,
      thickness: thickness,
      radius: radius,
      notificationPredicate: notificationPredicate,
      interactive: interactive,
      scrollbarOrientation: scrollbarOrientation,
      child: this,
    );