WheelColorPicker constructor
const
WheelColorPicker({
- Key? key,
- FanAnimationConfig animationConfig = const FanAnimationConfig(),
- required void onSelect(),
- required Color defaultColor,
- required double innerRadius,
- required double pieceHeight,
- required double buttonSize,
- void onTap()?,
- ButtonBehaviour? behaviour = ButtonBehaviour.longPressToOpen,
- bool stickToButton = true,
- List<
List< colorList = defaultAvailableColors,Color> > - double fanPieceBorderSize = 0,
- bool debugMode = false,
A button which you can click to pop out an overlay containing a wheel of color pieces.
Implementation
const WheelColorPicker({
Key? key,
this.animationConfig = const FanAnimationConfig(),
required this.onSelect,
required this.defaultColor,
required this.innerRadius,
required this.pieceHeight,
required this.buttonSize,
this.onTap,
this.behaviour = ButtonBehaviour.longPressToOpen,
this.stickToButton = true,
this.colorList = defaultAvailableColors,
this.fanPieceBorderSize = 0,
this.debugMode = false,
}) : super(key: key);