CrossDecoration constructor
const
CrossDecoration({
- ScrollTrackBehaviour track = ScrollTrackBehaviour.onHover,
- ScrollThumb thumb = ScrollThumb.alwaysDim,
- double hoverThickness = 8,
- double thickness = 8,
- Radius thumbRadius = const Radius.elliptical(8, 8),
Implementation
const CrossDecoration({
ScrollTrackBehaviour track = ScrollTrackBehaviour.onHover,
ScrollThumb thumb = ScrollThumb.alwaysDim,
double hoverThickness = 8,
double thickness = 8,
Radius thumbRadius = const Radius.elliptical(8, 8),
}) : assert(hoverThickness >= thickness),
thumb = thumb,
hoverThickness = hoverThickness,
thickness = thickness,
track = track,
thumbRadius = thumbRadius;