HexPicker constructor

HexPicker({
  1. required Color color,
  2. required ValueChanged<Color> onChanged,
  3. Key? key,
})

Implementation

HexPicker({
  required this.color,
  required this.onChanged,
  Key? key,
})  : _controller = TextEditingController(
        text: _Hex.colorToString(color).toUpperCase(),
      ),
      super(key: key);