BaseEntry<D> class
abstract
Common part of every chart entry: a y value, an optional icon and a read-only payload.
D is the type of the payload; Kotlin uses Nothing when there is none, Dart leaves it dynamic (or Never).
- Implementers
Constructors
- BaseEntry({double y = 0, ChartDrawable? icon, D? data})
-
Creates an entry part with
y(default 0), an optionaliconand an optionaldatapayload.
Properties
- data → D?
-
Optional payload carried with the entry, for example the object the entry was made from.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon ↔ ChartDrawable?
-
Drawable drawn at the entry's position when the data set has icons enabled, or null for none.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- y ↔ double
-
The y value in value space; for pie and radar entries this is the entry's value.
getter/setter pair
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