buildIndex method
Implementation
Widget buildIndex(int index) {
return Center(
child: CircleAvatar(
maxRadius: 10,
backgroundColor: UIColors.color_337eff,
child:
Text('$index', style: TextStyle(color: Colors.white, fontSize: 12)),
),
);
}