HexPicker constructor
HexPicker({
- required Color color,
- required ValueChanged<
Color> onChanged, - Key? key,
Implementation
HexPicker({
required this.color,
required this.onChanged,
Key? key,
}) : _controller = TextEditingController(
text: _Hex.colorToString(color).toUpperCase(),
),
super(key: key);