CustomThumbShape constructor

CustomThumbShape({
  1. dynamic onThumbSizeChange(
    1. double size
    )?,
  2. required double thumbSize,
  3. String text = '',
  4. Color borderColor = const Color(0xff656566),
  5. double borderWidth = 1.0,
})

Implementation

CustomThumbShape({
  this.onThumbSizeChange,
  required this.thumbSize,
  this.text = '',
  this.borderColor =  const Color(0xff656566),
  this.borderWidth = 1.0, // 默认为 2.0 的边框宽度
});