Fluent2Bar class
One bar of a Fluent2BarChart: its axis label ("Mon"), its value and the words that value is printed and said in (valueText, "3 h"; null prints the number).
Fluent2Bar('Mon', 3, valueText: '3 h')
- Annotations
Constructors
- Fluent2Bar(String label, double value, {String? valueText})
-
A bar called
labelworthvalue.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
The bar's name, beside or under it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → double
-
The bar's value.
final
- valueText → String?
-
The value's words; null prints value.
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