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
-
The Padding that should be used for the
PaginatorButton
's content.final -
The
PaginatorButton
's background color when selected.final -
The
PaginatorButton
's foreground color (text/icon color) when selected.final -
The shape of the
PaginatorButton
s.final -
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 -
The
PaginatorButton
's background color when unselected.final -
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