SuffaGuidanceText class

Inheritance

Constructors

SuffaGuidanceText.new({Key? key, required String infoText, required String guidanceText, required dynamic clickFunc(), double? infoTextSize, Color? infoTextColor, FontWeight? infoTextWeight, double? guidanceTextSize, Color? guidanceTextColor, FontWeight? guidanceTextWeight, TextStyle? infoTextFont, TextStyle? guidanceTextFont})
const

Properties

clickFunc → dynamic Function()
clickFunc function that works when the text is clicked on
final
guidanceText String
guidanceText the text that will be redirected when clicked on
final
guidanceTextColor Color?
guidanceTextColor color of the guidance text
final
guidanceTextFont TextStyle?
guidanceTextFont font of the guidance text (If you activate it, the textcolor, textsize and textweight parameters become non-functional.)
final
guidanceTextSize double?
guidanceTextSize size of the guidance text
final
guidanceTextWeight FontWeight?
guidanceTextWeight font weight of the guidance text
final
hashCode int
The hash code for this object.
no setterinherited
infoText String
infoText a short information text on where to redirect
final
infoTextColor Color?
infoTextColor color of the information text
final
infoTextFont TextStyle?
infoTextFont font of the information text (If you activate it, the textcolor, textsize and textweight parameters become non-functional.)
final
infoTextSize double?
infoTextSize size of the information text
final
infoTextWeight FontWeight?
infoTextWeight font weight of the information text
final
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

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, int wrapWidth = 65}) 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