FPaginationManagedControl constructor
const
FPaginationManagedControl({
- FPaginationController? controller,
- int? initial,
- int? pages,
- int? siblings,
- bool? showEdges,
- ValueChanged<
int> ? onChange,
Creates a FPaginationControl.
Implementation
const new({this.controller, this.initial, this.pages, this.siblings, this.showEdges, this.onChange})
: assert(
controller == null || initial == null,
'Cannot provide both controller and initial page. Pass initial page to the controller.',
),
assert(
controller == null || pages == null,
'Cannot provide both controller and pages. Pass pages to the controller.',
),
assert(
controller == null || siblings == null,
'Cannot provide both controller and siblings. Pass siblings to the controller.',
),
assert(
controller == null || showEdges == null,
'Cannot provide both controller and showEdges. Pass showEdges to the controller.',
),
super._();