RoundScrollbar constructor
const
RoundScrollbar({
- required Widget child,
- ScrollController? controller,
- double padding = 8,
- double width = 8,
- bool autoHide = true,
- Curve opacityAnimationCurve = Curves.easeInOut,
- Duration opacityAnimationDuration = const Duration(milliseconds: 250),
- Duration autoHideDuration = const Duration(seconds: 3),
- Color? trackColor,
- Color? thumbColor,
- Key? key,
A scrollbar which curves around circular screens. Similar to native wearOS scrollbar in devices with round screens.
Implementation
const RoundScrollbar({
required this.child,
this.controller,
this.padding = 8,
this.width = 8,
this.autoHide = true,
this.opacityAnimationCurve = Curves.easeInOut,
this.opacityAnimationDuration = const Duration(milliseconds: 250),
this.autoHideDuration = const Duration(seconds: 3),
this.trackColor,
this.thumbColor,
super.key,
});