HexPicker constructor

HexPicker({
  1. required Color color,
  2. required ValueChanged<Color> onChanged,
  3. Color? backgroundColor,
  4. Widget textField(
    1. String text
    )?,
  5. Key? key,
})

Implementation

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