Scrollbar.ambient constructor
const
Scrollbar.ambient({
- Key? key,
- required Widget child,
- required ScrollController? controller,
- EdgeInsets padding = EdgeInsets.zero,
The bar a scroll behavior adds, which has no other bar to hide.
Implementation
const Scrollbar.ambient({
super.key,
required this.child,
required this.controller,
this.padding = EdgeInsets.zero,
}) : thumbVisibility = false,
onScrub = null,
_hidesAmbientBar = false;