siblings property

int siblings
final

The number of sibling pages displayed beside the current page number. Defaults to 1.

This value determines how many pages are shown on either side of the currently selected page in the pagination. For example, if siblings is 2 and the current page is 5, the displayed pages would be 3, 4, 5, 6, and 7.

Contract:

Implementation

final int siblings;