NumberPaginatorUIConfig class

Holds all the relevant information for the configuration of how the NumberPaginator should look like.

Constructors

NumberPaginatorUIConfig({double height = 48.0, OutlinedBorder? buttonShape, Color? buttonSelectedForegroundColor, Color? buttonUnselectedForegroundColor, Color? buttonSelectedBackgroundColor, Color? buttonUnselectedBackgroundColor, ContentDisplayMode mode = ContentDisplayMode.numbers, MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start, EdgeInsets? contentPadding, TextStyle? buttonTextStyle, EdgeInsetsGeometry? buttonPadding})
const

Properties

buttonPadding EdgeInsetsGeometry?
The Padding that should be used for the PaginatorButton's content.
final
buttonSelectedBackgroundColor Color?
The PaginatorButton's background color when selected.
final
buttonSelectedForegroundColor Color?
The PaginatorButton's foreground color (text/icon color) when selected.
final
buttonShape OutlinedBorder?
The shape of the PaginatorButtons.
final
buttonTextStyle TextStyle?
The TextStyle that should be used for the PaginatorButton's text. This property only takes effect if mode is set to ContentDisplayMode.numbers. The color of the text is determined by buttonSelectedForegroundColor and buttonUnselectedForegroundColor.
final
buttonUnselectedBackgroundColor Color?
The PaginatorButton's background color when unselected.
final
buttonUnselectedForegroundColor Color?
The PaginatorButton's foreground color (text/icon color) when unselected.
final
contentPadding EdgeInsets?
The EdgeInsets that should be used as padding for the number paginator's content.
final
hashCode int
The hash code for this object.
no setterinherited
height double
The height of the number paginator.
final
mainAxisAlignment MainAxisAlignment
The MainAxisAlignment of the Row that holds the prev/next buttons and the page number buttons. This property only takes effect mode is set to ContentDisplayMode.hidden.
final
mode ContentDisplayMode
The ContentDisplayMode for the center content of the number paginator.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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