SimpleTags class

Inheritance

Constructors

SimpleTags({Key? key, required List<String> content, dynamic onTagPress(String)?, dynamic onTagDoubleTap(String)?, dynamic onTagLongPress(String)?, BoxDecoration? tagContainerDecoration, Widget? tagIcon, EdgeInsets tagContainerPadding = EdgeInsets.zero, EdgeInsets tagContainerMargin = EdgeInsets.zero, TextStyle? tagTextStyle, bool? tagTextSoftWrap, TextAlign? tagTextAlign, TextOverflow? tagTextOverflow, int? tagTextMaxlines, Locale? tagTextLocale, WrapCrossAlignment wrapCrossAxisAlignment = WrapCrossAlignment.start, WrapAlignment wrapAlignment = WrapAlignment.start, double wrapRunSpacing = 0, WrapAlignment wrapRunAlignment = WrapAlignment.start, Axis wrapDirection = Axis.horizontal, double wrapSpacing = 0, TextDirection? wrapTextDirection, Clip wrapClipBehavior = Clip.none, VerticalDirection wrapVerticalDirection = VerticalDirection.down})

Properties

content List<String>
List of Strings which are displayed by the package.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onTagDoubleTap → (dynamic Function(String)?)
Function which gets called by a double tap on a tag.
final
onTagLongPress → (dynamic Function(String)?)
Function which gets called by a long press on a tag.
final
onTagPress → (dynamic Function(String)?)
Function which gets called by pressing on a tag.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tagContainerDecoration BoxDecoration?
Specifies the decoration for the tag container.
final
tagContainerMargin EdgeInsets
Specifies the margin of the tag container.
final
tagContainerPadding EdgeInsets
Specifies the padding of the tag container.
final
tagIcon Widget?
Specifies whether there is a trailing widget inside the tag container. If this is null no widget will be displayed.
final
tagTextAlign TextAlign?
Specifies the text align for the tag text.
final
tagTextLocale Locale?
Specifies the locale for the tag text.
final
tagTextMaxlines int?
Specifies the max lines for the tag text.
final
tagTextOverflow TextOverflow?
Specifies the overflow for the tag text.
final
tagTextSoftWrap bool?
Specifies the softwrapping for the tag text.
final
tagTextStyle TextStyle?
Specifies the Textstyle widget for the tag.
final
wrapAlignment WrapAlignment
See WrapAlignment
final
wrapClipBehavior Clip
See Clip
final
wrapCrossAxisAlignment WrapCrossAlignment
See WrapCrossAlignment
final
wrapDirection Axis
See Axis
final
wrapRunAlignment WrapAlignment
See WrapAlignment
final
wrapRunSpacing double
See Wrap
final
wrapSpacing double
See Wrap
final
wrapTextDirection TextDirection?
See TextDirection
final
wrapVerticalDirection VerticalDirection
See VerticalDirection
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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