TagsStyler class Null safety

TagsStyler allows you to design the exact style you want for your tag by using its properties. It must not be null

Constructors

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)})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
showHashtag bool
Enable or disable the # prefix icon
final
tagCancelIcon Widget
tagCancelIcon apply your own icon, if you want, to delete the icon
final
tagCancelIconPadding EdgeInsets
Styles the padding of the tag cancel icon
final
tagDecoration BoxDecoration
tagMargin apply decoration to the container containing the tag. Should specify the color to set tag color, otherwise its white by default
final
tagMargin EdgeInsets
tagMargin allows you to apply margin inside tag
final
tagPadding EdgeInsets
tagPadding allows you to apply padding inside tag
final
tagTextPadding EdgeInsets
Styles the padding of the tag text
final
tagTextStyle TextStyle?
tagTextStyle style the text inside tag
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited