SfDataPagerThemeData class Null safety

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({Brightness? brightness, Color? backgroundColor, Color? itemColor, TextStyle? itemTextStyle, Color? selectedItemColor, TextStyle? selectedItemTextStyle, Color? disabledItemColor, TextStyle? disabledItemTextStyle, Color? itemBorderColor, double? itemBorderWidth, BorderRadiusGeometry? itemBorderRadius})
Create a SfDataPagerThemeData that's used to configure a SfDataPagerTheme.
factory
SfDataPagerThemeData.raw({required Brightness brightness, required Color backgroundColor, required Color itemColor, required TextStyle itemTextStyle, required Color selectedItemColor, required TextStyle selectedItemTextStyle, required Color disabledItemColor, required TextStyle disabledItemTextStyle, required Color itemBorderColor, required double? itemBorderWidth, required BorderRadiusGeometry itemBorderRadius})
Create a SfDataPagerThemeData given a set of exact values. All the values must be specified. [...]
const

Properties

backgroundColor Color
The color of the data pager background
final
brightness Brightness
The brightness of the overall theme of the application for the SfDataPager widgets. [...]
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
hashCode int
The hash code for this object. [...]
read-only, override
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.
read-only, inherited
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}) 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 non-existent 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.