TagsStyler constructor
TagsStyler({
- EdgeInsets tagTextPadding = const EdgeInsets.all(0.0),
- EdgeInsets tagCancelIconPadding = const EdgeInsets.only(left: 1.0),
- EdgeInsets tagPadding = const EdgeInsets.all(4.0),
- EdgeInsets tagMargin = const EdgeInsets.symmetric(horizontal: 4.0),
- BoxDecoration tagDecoration = const BoxDecoration(color: Color.fromARGB(255, 74, 137, 92)),
- TextStyle? tagTextStyle,
- bool showHashtag = false,
- Widget tagCancelIcon = const Icon(Icons.cancel, size: 18.0, color: Colors.green),
Implementation
TagsStyler({
this.tagTextPadding = const EdgeInsets.all(0.0),
this.tagCancelIconPadding = const EdgeInsets.only(left: 1.0),
this.tagPadding = const EdgeInsets.all(4.0),
this.tagMargin = const EdgeInsets.symmetric(horizontal: 4.0),
this.tagDecoration =
const BoxDecoration(color: Color.fromARGB(255, 74, 137, 92)),
this.tagTextStyle,
this.showHashtag = false,
this.tagCancelIcon = const Icon(
Icons.cancel,
size: 18.0,
color: Colors.green,
),
});