buildDefaultLabel method
Implementation
Widget buildDefaultLabel(int index, String? label, Widget divider) {
final children = <Widget>[];
if (index > 0) {
children.add(divider);
}
children.add(Text((index + 1).toString()));
if (label != null) {
children.add(SizedBox(width: 10));
children.add(Text(label));
}
return Row(children: children);
}