buildSegmentedBar method
Implementation
Widget buildSegmentedBar(int index) => Container(
width: 110,
alignment: Alignment.center,
child: Text(
_items[index].label,
style:
TextStyle(color: index == tabIndex ? Colors.blue : Colors.white),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
);