ColorPicker constructor

ColorPicker({
  1. Key? key,
  2. required Color color,
  3. required void onColor(
    1. Color color
    ),
  4. void onEyeDrop()?,
  5. IconData? eyeDropIcon,
  6. Color? eyeDropColor,
  7. Color? eyeDropBackgroundColor,
  8. Color? hexBackgroundColor,
  9. double colorIndicatorSize = 22.0,
})

Implementation

ColorPicker(
    {Key? key,
    required this.color,
    required this.onColor,
    this.onEyeDrop,
    this.eyeDropIcon,
    this.eyeDropColor,
    this.eyeDropBackgroundColor,
    this.hexBackgroundColor,
    this.colorIndicatorSize = 22.0})
    : super(key: key);