leftButton static method
Implementation
static GestureDetector leftButton(
{required int pageNumber, required Function(int) onTap}) {
return GestureDetector(
onTap: () => onTap(pageNumber - 1),
child: Padding(
padding: const EdgeInsets.only(right: 10.0),
child: Column(children: [arrowIcon(Icons.arrow_back_ios), _thing]),
),
);
}