SfDataPagerThemeData class

Holds the color and typography values for a SfDataPagerTheme. Use this class to configure a SfDataPagerTheme widget

To obtain the current theme, use SfDataPagerTheme.of.

Mixed-in types
Annotations

Constructors

SfDataPagerThemeData({Color? backgroundColor, Color? itemColor, TextStyle? itemTextStyle, Color? selectedItemColor, TextStyle? selectedItemTextStyle, Color? disabledItemColor, TextStyle? disabledItemTextStyle, Color? itemBorderColor, double? itemBorderWidth, BorderRadiusGeometry? itemBorderRadius, Color? dropdownButtonBorderColor})
Create a SfDataPagerThemeData that's used to configure a SfDataPagerTheme.
const
SfDataPagerThemeData.raw({Brightness? brightness, Color? backgroundColor, Color? itemColor, TextStyle? itemTextStyle, Color? selectedItemColor, TextStyle? selectedItemTextStyle, Color? disabledItemColor, TextStyle? disabledItemTextStyle, Color? itemBorderColor, double? itemBorderWidth, BorderRadiusGeometry? itemBorderRadius, Color? dropdownButtonBorderColor})
Create a SfDataPagerThemeData that's used to configure a SfDataPagerTheme.
factory

Properties

backgroundColor → Color?
The color of the data pager background
final
disabledItemColor → Color?
The color of the page Items which are disabled.
final
disabledItemTextStyle → TextStyle?
The style of the text of page items which are disabled.
final
The border color of the rowsPerPage dropdown button.
final
hashCode → int
The hash code for this object.
no setteroverride
itemBorderColor → Color?
The color of the border in page Item.
final
itemBorderRadius → BorderRadiusGeometry?
If non null, the corners of the page item are rounded by this ItemBorderRadius.
final
itemBorderWidth → double?
The width of the border in page item.
final
itemColor → Color?
The color of the page Items
final
itemTextStyle → TextStyle?
The style of the text of page Items
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedItemColor → Color?
The color of the currently selected page item.
final
selectedItemTextStyle → TextStyle?
The style of the text of currently selected page Item.
final

Methods

copyWith({Brightness? brightness, Color? backgroundColor, Color? itemColor, TextStyle? itemTextStyle, Color? selectedItemColor, TextStyle? selectedItemTextStyle, Color? disabledItemColor, TextStyle? disabledItemTextStyle, Color? itemBorderColor, double? itemBorderWidth, BorderRadiusGeometry? itemBorderRadius, Color? dropdownButtonBorderColor}) → SfDataPagerThemeData
Creates a copy of this theme but with the given fields replaced with the new values.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
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

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

lerp(SfDataPagerThemeData? a, SfDataPagerThemeData? b, double t) → SfDataPagerThemeData?
Linearly interpolate between two themes.