BetterCupertinoSliderConfigure constructor

const BetterCupertinoSliderConfigure({
  1. BoxConstraints additionalConstraints = const BoxConstraints.tightFor(width: 176.0, height: 28.0),
  2. bool useTapGesture = true,
  3. double trackHorizontalPadding = 8.0,
  4. double trackHeight = 4.0,
  5. Color trackLeftColor = const Color(0xFFFF6B26),
  6. Color trackRightColor = const Color(0xFFE3E9EF),
  7. double thumbRadius = 8.0,
  8. BetterCupertinoThumbPainter thumbPainter = defaultThumbPainter,
})

Implementation

const BetterCupertinoSliderConfigure({
  this.additionalConstraints = const BoxConstraints.tightFor(width: 176.0, height: 28.0),
  this.useTapGesture = true,
  this.trackHorizontalPadding = 8.0,
  this.trackHeight = 4.0,
  this.trackLeftColor = const Color(0xFFFF6B26),
  this.trackRightColor = const Color(0xFFE3E9EF),
  this.thumbRadius = 8.0,
  this.thumbPainter = defaultThumbPainter,
});