BarData class

Model class for bar chart data used in ActivityBar widget

Constructors

BarData.new({required String label, required double value, Color? color, String? tooltipText})
Creates a BarData object for use in ActivityBar widget
const

Properties

color Color?
Color for the bar (optional, will use theme default if not specified)
final
hashCode int
The hash code for this object.
no setterinherited
label String
Label for the bar (displayed on x-axis)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tooltipText String?
Optional custom tooltip text
final
value double
Value for the bar height
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited