CrossDecoration constructor

const CrossDecoration({
  1. ScrollTrackBehaviour track = ScrollTrackBehaviour.onHover,
  2. ScrollThumb thumb = ScrollThumb.alwaysDim,
  3. double hoverThickness = 8,
  4. double thickness = 8,
  5. 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;