AsInformer class

Indefinate Informer widget with Text view on it

Inheritance

Constructors

AsInformer({int? type, String? text, Color? color, Color? containerColor, Color? backgroundColor, double? borderRadius})

Properties

backgroundColor Color?
Background Color of the widget
getter/setter pair
borderRadius double?
Radius of the border around the widget
getter/setter pair
color Color?
General Color of the widget
getter/setter pair
containerColor Color?
Container Color of the widget
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
Text to show in the informer
getter/setter pair
type int?
Type of informer to display: 1 for progress, 2 for success, 3 for failure
getter/setter pair
widgetState AsInformerState
getter/setter pair

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.
override
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
hideWidget() → void
hide the widget is its already being shown
modify(int newType, String newText, Color newColor, Color newBackgroundColor, Color newContainerColor, double newBorderRadius) → void
change the outlook of the widgeton the fly
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setText(String newtext) → void
change text on the widget
showWidget() → void
show the widget is its already hidden, has to be called if the widget has been created freshly
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

Static Methods

setUp(int setType, String setText, Color setColor, Color setContainerColor, Color setBackgroundColor, double setBorderRadius) Widget
initial setting up of the widget