PaginationRenderBase class abstract
Shared structural base for the Neon-family pagination renderers.
The Neon and Neubrutalism paginations share an identical structure (a nav
holding the first/prev/page/next/last buttons and an optional page-count
span directly). They differ only in the CSS class prefix and the per-variant
button styles. This base factors the shared layout, the button scaffold and
the ellipsis, leaving those values to the concrete renderer.
The ShadCN pagination uses a different DOM (a ul/li list with a separate
simple-pagination path) and therefore does not extend this base.
This base lives in core and depends only on core props; it must never depend on a theme package.
- Inheritance
-
- Object
- Component
- StatelessComponent
- PaginationRenderBase
Constructors
- PaginationRenderBase(PaginationProps props, {Key? key})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one component replaces another component in the tree.
finalinherited
- props → PaginationProps
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- themePrefix → String
-
CSS class prefix (e.g.
'neon','neubrutalism').no setter
Methods
-
build(
BuildContext context) → Component -
Describes the part of the user interface represented by this component.
override
- Per-variant button styles merged onto the shared button styles. The switch over PaginationProps.variant lives in the concrete renderer because the values are entirely theme-specific.
-
createElement(
) → Element -
Creates a StatelessElement to manage this component's location in the tree.
inherited
-
decorationStyles(
ArcaneDecoration? decoration) → Map< String, String> - Per-instance decoration overrides. Default: none. A theme overrides this to translate an ArcaneDecoration (elevation intent, theme-specific fields) into its own CSS. Fields a theme does not implement are ignored.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldRebuild(
covariant Component newComponent) → bool -
Implement this method to determine whether a rebuild can be skipped.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited