EyedropperButton constructor

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

Implementation

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