FlutterTagging class

FlutterTagging widget displays list of suggestions and enables to select or add those suggestions in the form of tags.

Inheritance

Constructors

FlutterTagging({@required FlutterTaggingCallBack onChanged, @required InputDecoration textFieldDecoration, @required SuggestionsCallback suggestionsCallback, @required Widget addButtonWidget, Icon deleteIcon: const Icon(Icons.cancel, size: 20.0), Color chipsColor, EdgeInsetsGeometry chipsPadding, double chipsFontSize, Color chipsFontColor, String chipsFontFamily, double chipsSpacing: 5.0, WidgetBuilder loadingBuilder, WidgetBuilder noItemsFoundBuilder })
Creates a FlutterTagging Widget

Properties

addButtonWidget Widget
A button Widget to be shown when new pattern is typed, which could be added to tag list.
final
chipsColor Color
A chipsColor is a Color to be used as chips background.
final
chipsFontColor Color
A chipsFontColor is a Color to be used as chips font color.
final
chipsFontFamily → String
Defines the font family String.
final
chipsFontSize → double
Defines the font size of chips with double value.
final
chipsPadding EdgeInsetsGeometry
A chipsPadding is a EdgeInsetsGeometry for defining chips padding.
final
chipsSpacing → double
Defines the spacing between chips with double value.
final
deleteIcon Icon
A deleteIcon is an Icon used for deleting chips.
final
loadingBuilder WidgetBuilder
WidgetBuilder to build loading widget.
final
noItemsFoundBuilder WidgetBuilder
WidgetBuilder to build widget when no items are available.
final
onChanged FlutterTaggingCallBack
FlutterTaggingCallBack is callback for registering any change in output data.
final
suggestionsCallback SuggestionsCallback
Called with the search pattern to get the search suggestions. [...]
final
textFieldDecoration InputDecoration
InputDecoration for TextField displayed by FlutterTagging Widget.
final
hashCode → int
The hash code for this object.
read-only, inherited
key Key
Controls how one widget replaces another widget in the tree. [...]
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

createState() → _FlutterTaggingState
Creates the mutable state for this widget at a given location in the tree. [...]
override
createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree. [...]
inherited
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children. [...]
@protected, inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.debug }) → String
Returns 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 ==(dynamic other) → bool
The equality operator.
inherited