rightButton static method
Implementation
static GestureDetector rightButton({required int pageNumber, required Function(int) onTap, int? skip, int? limit}) {
print('Right Button tap: $pageNumber');
return GestureDetector(
onTap: () {
// final int num = pageNumber + 1;
print('Right Button tap: $pageNumber');
// onTap(num);
onTap(pageNumber+1);
},
child: Column(children: [arrowIcon(Icons.arrow_forward_ios), _thing]),
);
}