materialCommandScrollbarBuilder function

CommandScrollbarBuilder materialCommandScrollbarBuilder({
  1. bool? thumbVisibility,
  2. bool? trackVisibility,
  3. double? thickness,
  4. Radius? radius,
  5. bool? interactive,
  6. ScrollNotificationPredicate? notificationPredicate,
})

A CommandScrollbarBuilder that wraps the list with Material's Scrollbar.

Implementation

CommandScrollbarBuilder materialCommandScrollbarBuilder({
  bool? thumbVisibility,
  bool? trackVisibility,
  double? thickness,
  Radius? radius,
  bool? interactive,
  ScrollNotificationPredicate? notificationPredicate,
}) =>
    (BuildContext context, Widget child, ScrollController scrollController) =>
        Scrollbar(
          controller: scrollController,
          thumbVisibility: thumbVisibility,
          trackVisibility: trackVisibility,
          thickness: thickness,
          radius: radius,
          interactive: interactive,
          notificationPredicate: notificationPredicate,
          child: child,
        );