buildNextButton method
Implementation
Widget buildNextButton() {
return TextButton(
onPressed: () {
if (!isAnimating(tabController.animation!.value)) {
tabController.animateTo(tabController.index + 1);
}
},
style: TextButton.styleFrom(
backgroundColor: colorDoneBtn,
primary: highlightColorDoneBtn,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(borderRadiusDoneBtn)),
),
child: renderNextBtn,
);
}