getTitles function

GetTitleWidgetFunction getTitles(
  1. List<String> titles
)

Gets titles for a graph.

Implementation

GetTitleWidgetFunction getTitles(List<String> titles) => (value, meta) => SideTitleWidget(
	axisSide: AxisSide.bottom,
	space: 2,
	child: Text(titles[value.toInt()]),
);