UDocColorBar constructor

const UDocColorBar({
  1. required Color selected,
  2. required ValueChanged<Color> onSelected,
  3. List<Color> colors = UDocPalette.colors,
  4. double size = 22,
  5. bool onDark = false,
  6. Key? key,
})

Implementation

const UDocColorBar({required this.selected, required this.onSelected, this.colors = UDocPalette.colors, this.size = 22, this.onDark = false, super.key});