PlatformScrollbar constructor

PlatformScrollbar({
  1. Key? key,
  2. Key? widgetKey,
  3. required Widget child,
  4. ScrollController? controller,
  5. bool? thumbVisibility,
  6. double? thickness,
  7. Radius? radius,
  8. bool notificationPredicate(
    1. ScrollNotification
    )?,
  9. ScrollbarOrientation? scrollbarOrientation,
  10. PlatformBuilder<MaterialScrollbarData>? material,
  11. PlatformBuilder<CupertinoScrollbarData>? cupertino,
})

Implementation

PlatformScrollbar({
  //Common
  super.key,
  this.widgetKey,
  required this.child,
  this.controller,
  this.thumbVisibility,
  this.thickness,
  this.radius,
  this.notificationPredicate,
  this.scrollbarOrientation,
  //Platform
  this.material,
  this.cupertino,
});