RandomColorWheel constructor
RandomColorWheel({
- Key? key,
- required List<
Color> colors, - double size = 25,
- required VoidCallback? onPressed,
- Duration duration = const Duration(milliseconds: 500),
- bool waitForAnimation = true,
- required RandomColorWheelController controller,
Implementation
RandomColorWheel({
super.key,
required this.colors,
this.size = 25,
required this.onPressed,
this.duration = const Duration(milliseconds: 500),
this.waitForAnimation = true,
required this.controller,
});