ThumbConfiguration constructor

const ThumbConfiguration({
  1. double radius = 10,
  2. double width = 20,
  3. double height = 20,
  4. List<Color> colorsList = const [Color(0xffdde1e7)],
  5. Color borderColor = Colors.black,
  6. double borderWidth = 0,
  7. bool displayOuterShadows = false,
  8. bool displayInnerShadows = false,
  9. bool autoThumbColor = false,
  10. Shadow innerTopShadow = const Shadow(spread: 4, offset: Offset(-5, -5), inflate: 0, radius: 20),
  11. Shadow innerBottomShadow = const Shadow(spread: 9, offset: Offset(5, 5), inflate: 0, radius: 20),
  12. Shadow outerTopShadow = const Shadow(spread: 1, offset: Offset(1, 1), inflate: 0, radius: 20),
  13. Shadow outerBottomShadow = const Shadow(spread: 1, offset: Offset(-1, -1), inflate: 0, radius: 20),
})

Implementation

const ThumbConfiguration({
  this.radius = 10,
  this.width = 20,
  this.height = 20,
  this.colorsList = const [Color(0xffdde1e7)],
  this.borderColor = Colors.black,
  this.borderWidth = 0,
  this.displayOuterShadows = false,
  this.displayInnerShadows = false,
  this.autoThumbColor = false,
  this.innerTopShadow =
      const Shadow(spread: 4, offset: Offset(-5, -5), inflate: 0, radius: 20),
  this.innerBottomShadow =
      const Shadow(spread: 9, offset: Offset(5, 5), inflate: 0, radius: 20),
  this.outerTopShadow =
      const Shadow(spread: 1, offset: Offset(1, 1), inflate: 0, radius: 20),
  this.outerBottomShadow =
      const Shadow(spread: 1, offset: Offset(-1, -1), inflate: 0, radius: 20),
});