components/types library

Enums

ChartBarTextAlignment
Signature for the enumeration that defines alignment type about bar text.
ChartMarkType
Signature for the enumeration that defines type of how to display values in a chart.
ChartRoundingModes
Signature for the enumeration that defines rounding modes for numerical values.
ChartSeparatedTextAlignment
Signature for the enumeration that defines alignment type about separated text.
ChartSeparatedTextDirection
Signature for the enumeration that defines direction for separated text layout.
ChartTheme
Signature for the enumeration that defines the chart theme type.

Typedefs

ChartInteractionCallback<T extends ChartState> = void Function(T state)
Signature for the callback function that is called when gesture actioned.
ChartTextStyleBuilder<T extends ChartState> = TextStyle Function(T state)
Signature for the callback function that is called when need to create the instance of TextStyle according to the state.