xxxxxxxxxx
TabBar(
splashFactory: NoSplash.splashFactory,
overlayColor: MaterialStateProperty.resolveWith<Color?>(
(Set<MaterialState> states) {
// Use the default focused overlay color
return states.contains(MaterialState.focused) ? null : Colors.transparent;
}
),
)