ThumbConfiguration constructor
const
ThumbConfiguration({
- double radius = 10,
- double width = 20,
- double height = 20,
- List<
Color> colorsList = const [Color(0xffdde1e7)], - Color borderColor = Colors.black,
- double borderWidth = 0,
- bool displayOuterShadows = false,
- bool displayInnerShadows = false,
- bool autoThumbColor = false,
- Shadow innerTopShadow = const Shadow(spread: 4, offset: Offset(-5, -5), inflate: 0, radius: 20),
- Shadow innerBottomShadow = const Shadow(spread: 9, offset: Offset(5, 5), inflate: 0, radius: 20),
- Shadow outerTopShadow = const Shadow(spread: 1, offset: Offset(1, 1), inflate: 0, radius: 20),
- 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),
});