FPaginationStyle class final
The FPagination styles.
- Implemented types
- Mixed-in types
- Available extensions
Constructors
- FPaginationStyle.new({required FPaginationStateStyle selected, required FPaginationStateStyle unselected, required FIconStyle iconStyle, EdgeInsets itemPadding = const EdgeInsets.symmetric(horizontal: 2), BoxConstraints contentConstraints = const BoxConstraints.tightFor(width: 40.0, height: 40.0)})
- Creates a FPaginationStyle.
- FPaginationStyle.inherit({required FColorScheme colorScheme, required FTypography typography, required FStyle style})
-
Creates a FPaginationStyle that inherits its properties from
colorScheme
,typography
, andstyle
.
Properties
- contentConstraints → BoxConstraints
-
The constraints for the content. Defaults to
BoxConstraints(maxWidth: 40, minWidth: 40, maxHeight: 40, minHeight: 40)
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- iconStyle → FIconStyle
-
The icon style.
final
- itemPadding → EdgeInsets
-
The padding around each item. Defaults to EdgeInsets.symmetric(horizontal: 2)`.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selected → FPaginationStateStyle
-
The style for the FPagination when it is selected.
final
- unselected → FPaginationStateStyle
-
The style for the FPagination when it is unselected.
final
Methods
-
copyWith(
{FPaginationStateStyle? selected, FPaginationStateStyle? unselected, FIconStyle? iconStyle, EdgeInsets? itemPadding, BoxConstraints? contentConstraints}) → FPaginationStyle -
Returns a copy of this FPaginationStyle with the given properties replaced.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
-
transform(
T function(T)) → T -
Available on T, provided by the FTransformables extension
Transform thisT
using the givenfunction
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited