ChartRangePadding enum Null safety

Padding for axis ranges.



additional → const ChartRangePadding
  • ChartRangePadding.additional, will add an interval to the minimum and maximum of the axis.
const ChartRangePadding(3)
auto → const ChartRangePadding
  •, will apply None as padding for horizontal numeric axis, while the vertical numeric axis takes Normal as padding calculation.
const ChartRangePadding(0)
none → const ChartRangePadding
  • ChartRangePadding.none, will not add any padding to the min and max values.
const ChartRangePadding(1)
normal → const ChartRangePadding
  • ChartRangePadding.normal, will apply padding to the axis based on the default range calculation.
const ChartRangePadding(2)
round → const ChartRangePadding
  • ChartRangePadding.round, will round the minimum and maximum values to the nearest possible value,
const ChartRangePadding(4)
values → const List<ChartRangePadding>

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

const List<ChartRangePadding>


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. [...]