BarGraph class

Inheritance

Constructors

BarGraph({Key? key, Color? backgroundColor, Color barColor = Colors.blue, Color indicatorsColor = Colors.grey, TextStyle? textStyle, Alignment textAlign = Alignment.center, int fractionDigits = 2, double value = 15, int divisions = 10, double min = 0, double max = 100, int animationDuration = 200, BarGraphOrientation orientation = BarGraphOrientation.verticalFromBottom, int textFlex = 20, BarGraphIndicatorStyle indicatorStyle = BarGraphIndicatorStyle.both, BarGraphIndicatorSpacing indicatorSpacing = BarGraphIndicatorSpacing.spaceAround})
Creates an BarGraph Material design's
const

Properties

animationDuration int
animationDuration is a millisecond of animation duration on changed value of BarGraph
final
backgroundColor Color?
Is backgroundColor of BarGraph
final
barColor Color
barColor is a color of BarGraph bar
final
divisions int
divisions is count of BarGraph indicators
final
fractionDigits int
fractionDigits is number of digits of BarGraph text label indicator
final
hashCode int
The hash code for this object.
no setterinherited
indicatorsColor Color
indicatorsColor is a color of BarGraph line indicator
final
indicatorSpacing BarGraphIndicatorSpacing
indicatorSpacing is the scale indicators spacing
final
indicatorStyle BarGraphIndicatorStyle
indicatorStyle is the scale indicators style
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
max double
max is max value of BarGraph scale
final
min double
min is min value of BarGraph scale
final
orientation BarGraphOrientation
orientation is a orientation of BarGraph
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textAlign Alignment
textAlign is a Alignment of BarGraph text label indicator
final
textFlex int
textFlex is the percentage of portion used for text, remaining space is used for indicators.
final
textStyle TextStyle?
textStyle is a TextStyle of BarGraph text label indicator
final
value double
value is actual value of BarGraph bar
final

Methods

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