TagsStyler constructor

TagsStyler({
  1. EdgeInsets tagTextPadding = const EdgeInsets.all(0.0),
  2. EdgeInsets tagCancelIconPadding = const EdgeInsets.only(left: 1.0),
  3. EdgeInsets tagPadding = const EdgeInsets.all(4.0),
  4. EdgeInsets tagMargin = const EdgeInsets.symmetric(horizontal: 4.0),
  5. BoxDecoration tagDecoration = const BoxDecoration(color: Color.fromARGB(255, 74, 137, 92)),
  6. TextStyle? tagTextStyle,
  7. bool showHashtag = false,
  8. 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,
  ),
});