BarColorPicker constructor
const
BarColorPicker({
- Key? key,
- PickMode pickMode = PickMode.color,
- bool horizontal = true,
- bool showThumb = true,
- double length = 200,
- double borderWidth = 0.0,
- double cornerRadius = 0.0,
- double thumbRadius = 6,
- Color initialColor = const Color(0xffff0000),
- Color thumbColor = Colors.black,
- ValueChanged? onPositionChange,
- double? initPosition,
- required dynamic colorListener(
- int value
- required ProImageEditorConfigs configs,
Implementation
const BarColorPicker({
super.key,
this.pickMode = PickMode.color,
this.horizontal = true,
this.showThumb = true,
this.length = 200,
this.borderWidth = 0.0,
this.cornerRadius = 0.0,
this.thumbRadius = 6,
this.initialColor = const Color(0xffff0000),
this.thumbColor = Colors.black,
this.onPositionChange,
this.initPosition,
required this.colorListener,
required this.configs,
});