EyedropperButton constructor

const EyedropperButton({
  1. required ValueChanged<Color> onColor,
  2. ValueChanged<Color>? onColorChanged,
  3. IconData icon = Icons.colorize,
  4. Color iconColor = Colors.black54,
  5. Key? key,
})

Implementation

const EyedropperButton({
  required this.onColor,
  this.onColorChanged,
  this.icon = Icons.colorize,
  this.iconColor = Colors.black54,
  Key? key,
}) : super(key: key);