Tagger constructor
const
Tagger({
- Key? key,
- TaggerController? controller,
- EdgeInsets padding = const EdgeInsets.only(top: 8, right: 16, left: 8, bottom: 8),
- double minWidth = 60,
- TextStyle textStyle = const TextStyle(fontSize: 16),
- TextStyle hintTextStyle = const TextStyle(fontSize: 16, color: Color(0xffA2A2A2)),
- TextStyle buttonTextStyle = const TextStyle(fontSize: 14, color: Colors.white),
- Color textFieldBackgroundColor = const Color(0xfffff5b0),
- Color tagButtonColor = const Color(0xff005779),
- Color tagButtonIconColor = Colors.white,
- 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);