AnimatedProgressBarChart class

Animated version of Progress Bar Chart

Inheritance

Constructors

AnimatedProgressBarChart({Key? key, required ChartData data, Color currentColor = const Color(0xFF6366F1), Color previousColor = const Color(0xFFA855F7), Color averageColor = const Color(0xFFE5E7EB), Color backgroundColor = const Color(0xFFF9FAFB), double height = 40.0, double borderRadius = 20.0, bool showLegend = true, List<LegendItem>? customLegend, TextStyle? titleStyle, TextStyle? subtitleStyle, EdgeInsets padding = const EdgeInsets.all(16.0), double markerWidth = 3.0, Color markerColor = const Color(0xFF374151), Duration animationDuration = const Duration(milliseconds: 1500)})
const

Properties

animationDuration Duration
final
averageColor Color
final
backgroundColor Color
final
borderRadius double
final
currentColor Color
final
customLegend List<LegendItem>?
final
data ChartData
final
hashCode int
The hash code for this object.
no setterinherited
height double
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
markerColor Color
final
markerWidth double
final
padding EdgeInsets
final
previousColor Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showLegend bool
final
subtitleStyle TextStyle?
final
titleStyle TextStyle?
final

Methods

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