Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
Pagination
const Pagination({
super.key,
required this.totalPages,
required this.page,
required this.onChanged,
this.siblingCount = 1,
this.boundaryCount = 1,
this.jumpSize,
this.jumpLabelBuilder,
this.showControls = true,
this.showFirstLast = false,
this.isDisabled = false,
this.size,
this.dimension,
this.spacing,
this.pageLabelBuilder,
this.previousLabel = 'Previous page',
this.nextLabel = 'Next page',
this.firstLabel = 'First page',
this.lastLabel = 'Last page',
this.motion,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
totalPages | int | Yes | — |
page | int | Yes | — |
onChanged | ValueChanged<int>? | Yes | — |
siblingCount | int | No | 1 |
boundaryCount | int | No | 1 |
jumpSize | int? | No | null |
jumpLabelBuilder | String Function(int targetPage)? | No | null |
showControls | bool | No | true |
showFirstLast | bool | No | false |
isDisabled | bool | No | false |
size | ComponentSize? | No | null |
dimension | double? | No | null |
spacing | double? | No | null |
pageLabelBuilder | String Function(int page)? | No | null |
previousLabel | String | No | 'Previous page' |
nextLabel | String | No | 'Next page' |
firstLabel | String | No | 'First page' |
lastLabel | String | No | 'Last page' |
motion | ComponentMotion? | No | null |
Application Setup
Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.
Source
lib/src/widgets/navigation/pagination/pagination.dart
This reference is generated from the Pagination declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

