Tagger constructor

const Tagger({
  1. Key? key,
  2. TaggerController? controller,
  3. EdgeInsets padding = const EdgeInsets.only(top: 8, right: 16, left: 8, bottom: 8),
  4. double minWidth = 60,
  5. TextStyle textStyle = const TextStyle(fontSize: 16),
  6. TextStyle hintTextStyle = const TextStyle(fontSize: 16, color: Color(0xffA2A2A2)),
  7. TextStyle buttonTextStyle = const TextStyle(fontSize: 14, color: Colors.white),
  8. Color textFieldBackgroundColor = const Color(0xfffff5b0),
  9. Color tagButtonColor = const Color(0xff005779),
  10. Color tagButtonIconColor = Colors.white,
  11. ValueChanged<String>? onChanged,
})

Implementation

const Tagger({
  Key? key,
  this.controller,
  this.padding = const EdgeInsets.only(top: 8, right: 16, left: 8, bottom: 8),
  this.minWidth = 60,
  this.textStyle = const TextStyle(fontSize: 16),
  this.hintTextStyle = const TextStyle(
    fontSize: 16,
    color: Color(0xffA2A2A2),
  ),
  this.buttonTextStyle = const TextStyle(
    fontSize: 14,
    color: Colors.white,
  ),
  this.textFieldBackgroundColor = const Color(0xfffff5b0),
  this.tagButtonColor = const Color(0xff005779),
  this.tagButtonIconColor = Colors.white,
  this.onChanged,
}) : super(key: key);