FdcGridPagingNavigator class

Page navigation control for adapter-backed dataset paging.

Use FdcGridPagingNavigator.input for direct page entry or FdcGridPagingNavigator.numbered for numbered page labels. Compose it independently with FdcGridPagingRecordInfo, FdcGridPageSizeSelector, FdcGridSpacer, or other grid items in a toolbar or status bar.

Inheritance

Constructors

FdcGridPagingNavigator.input({String? id, bool visible = true, FdcGridItemPlacement placement = FdcGridItemPlacement.end, String? pageLabel, String? pageCountLabel, bool showFirstLastButtons = true, bool showPreviousNextButtons = true, bool allowPageInput = true})
Creates a FdcGridPagingNavigator.
const
FdcGridPagingNavigator.numbered({String? id, bool visible = true, FdcGridItemPlacement placement = FdcGridItemPlacement.end, int visiblePageCount = 5, bool showBoundaryPages = true, bool showFirstLastButtons = false, bool showPreviousNextButtons = true})
Creates a FdcGridPagingNavigator.

Properties

allowPageInput bool
Allows direct page-number entry.
final
hashCode int
The hash code for this object.
no setterinherited
id String?
Optional stable identifier for locating or customizing this item.
finalinherited
pageCountLabel String?
Label used when presenting the total page count.
final
pageLabel String?
Label shown before the current page value.
final
placement FdcGridItemPlacement
Placement zone used by the host when arranging this item.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showBoundaryPages bool
Shows first and last page boundaries around the numbered page window.
final
showFirstLastButtons bool
Shows buttons that jump directly to the first and last pages.
final
showPreviousNextButtons bool
Shows buttons that move one page backward or forward.
final
visible bool
Whether this item participates in the host toolbar or status bar.
finalinherited
visiblePageCount int
Maximum number of numbered page buttons shown at once.
final

Methods

buildForDataSet(BuildContext context, FdcDataSet dataSet) Widget
Builds this paging item for the current dataSet paging state.
buildItem(BuildContext context) Widget
Builds a host-independent item.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited