TrendlineType enum Null safety

Trendline type

On the basis of the trend line type, the trend line is rendered



exponential → const TrendlineType
  • TrendlineType.exponential, displays exponential trendline type
const TrendlineType(1)
linear → const TrendlineType
  • TrendlineType.linear, displays linear trendline type
const TrendlineType(0)
logarithmic → const TrendlineType
  • TrendlineType.logarithmic, displays logarithmic trendline type
const TrendlineType(3)
movingAverage → const TrendlineType
  • TrendlineType.movingAverage, displays movingAverage trendline type
const TrendlineType(5)
polynomial → const TrendlineType
  • TrendlineType.polynomial, displays polynomial trendline type
const TrendlineType(4)
power → const TrendlineType
  • TrendlineType.power, displays power trendline type
const TrendlineType(2)
values → const List<TrendlineType>

A constant List of the values in this enum, in order of their declaration.

const List<TrendlineType>


hashCode int
The hash code for this object. [...]
read-only, inherited
index int
A numeric identifier for the enumerated value. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]