TagsStyler class
Constructors
- TagsStyler({EdgeInsets tagTextPadding = const EdgeInsets.all(0.0), EdgeInsets tagCancelIconPadding = const EdgeInsets.only(left: 1.0), EdgeInsets tagPadding = const EdgeInsets.all(8.0), EdgeInsets tagMargin = const EdgeInsets.symmetric(horizontal: 8.0), ShapeDecoration? tagDecoration, TextStyle? tagTextStyle, bool showHashtag = false, Widget tagCancelIcon = const Icon(Icons.cancel, size: 18.0, color: CantonColors.blue)})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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 → ShapeDecoration?
-
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 nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited