SimpleLaneChart class

Inheritance

Constructors

SimpleLaneChart(num firstNum, num secondNum, {Color color = Colors.deepOrange, Color bgColor = Colors.indigo, double height = 15.0, bool calFrom100Perc = false, Gradient? gradientForChart, Gradient? gradientForBgChart, bool tooltip = true, bool tooltipPercent = true, bool textPercent = false, bool tooltipPreferBelow = false, bool showTextCount = true, TextStyle? tooltipTextStyle, TextStyle? textStyle, Alignment? aligmentText, Duration? animatedDuration, double elevantion = 3.0})

Properties

aligmentText Alignment?
Alignment text count
final
animatedDuration Duration?
Animated duration
final
bgColor Color
Color second chart or background
final
calFrom100Perc bool
For progres chart, if you chose calFrom100Perc value "true", secondNum shoud be total sum
final
color Color
Color
final
elevantion double
Elevantion for chart
final
firstNum num
First number which you want to compare. Is required variable
final
gradientForBgChart Gradient?
Gradient second chart or background
final
gradientForChart Gradient?
Gradient first chart
final
hashCode int
The hash code for this object.
no setterinherited
height double
Height of chart
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
secondNum num
Second number which you want to compare with first number. If you choose calFrom100Perc value "true", this shoud be total sum value of first and second num Is required variable
final
showTextCount bool
Visuble text count
final
textPercent bool
Show text count in percent
final
textStyle TextStyle?
Text style for text count
final
tooltip bool
Visuble tooltip
final
tooltipPercent bool
Show percent compare between 2 value
final
tooltipPreferBelow bool
Below tooltip
final
tooltipTextStyle TextStyle?
Text style for tooltip
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _SimpleLaneChartState
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
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