ellipsisButton static method
Implementation
static GestureDetector ellipsisButton(
{required int pageNumber,
required int numberOfPages,
required Function(int) onTap,
int? skip}) {
return GestureDetector(
onTap: () => onTap(pageNumber),
child: Padding(
padding: EdgeInsets.only(right: pageNumber < numberOfPages ? 10.0 : 0),
child: Column(
children: [
Text(ellipsis, style: _style),
_thing,
pageNumber == skip
? Container(height: 2, width: 14.0, color: Colors.black)
: Container(height: 2),
],
),
),
);
}