tabDeco function
Implementation
Padding tabDeco(BuildContext context, title, selectedTabIndex, index) {
return Padding(
padding: const EdgeInsets.symmetric(vertical: 10.0),
child: Center(
child: Text(title,
style: TextStyle(
fontSize: 11,
fontWeight:
selectedTabIndex == index ? FontWeight.w600 : FontWeight.w400,
color: selectedTabIndex == index ? PRIMARY : BLACK)),
),
);
}