PlutoScrollbar constructor
const
PlutoScrollbar({
- Key? key,
- ScrollController? horizontalController,
- ScrollController? verticalController,
- bool isAlwaysShown = false,
- double thickness = defaultThickness,
- double thicknessWhileDragging = defaultThicknessWhileDragging,
- Radius radius = defaultRadius,
- Radius radiusWhileDragging = defaultRadiusWhileDragging,
- required Widget child,
Implementation
const PlutoScrollbar({
Key? key,
this.horizontalController,
this.verticalController,
this.isAlwaysShown = false,
this.thickness = defaultThickness,
this.thicknessWhileDragging = defaultThicknessWhileDragging,
this.radius = defaultRadius,
this.radiusWhileDragging = defaultRadiusWhileDragging,
required this.child,
}) : assert(thickness < double.infinity),
assert(thicknessWhileDragging < double.infinity),
assert(!isAlwaysShown ||
(horizontalController != null || verticalController != null)),
super(key: key);