AntdPageIndicator class

@t 分页符 @g 信息展示 @o 80 @d 指示当前显示的是多页面视图的哪一页。 @u 适用于表示当前内容区块可以横向滚动翻页。

Inheritance

Constructors

AntdPageIndicator.new({Key? key, AntdPageIndicatorStyle? style, AntdStyleBuilder<AntdPageIndicatorStyle, AntdPageIndicator>? styleBuilder, AntdColor color = AntdColor.primary, int total = 0, int current = 0, bool vertical = false})
const

Properties

color AntdColor
颜色
final
current int
当前页(从 0 开始计数)
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style AntdPageIndicatorStyle?
样式
finalinherited
styleBuilder AntdStyleBuilder<AntdPageIndicatorStyle, AntdPageIndicator>?
动态样式
finalinherited
total int
总页数
final
vertical bool
方向,默认是水平方向
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
inherited
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
getDefaultStyle(BuildContext context, AntdTheme theme, AntdMapToken token) AntdPageIndicatorStyle
override
getFinalStyle(BuildContext context, AntdPageIndicatorStyle style, AntdMapToken token) AntdPageIndicatorStyle
inherited
getInputStyle(BuildContext context) AntdPageIndicatorStyle?
inherited
getStyle(BuildContext context) AntdPageIndicatorStyle
inherited
getStyleBuilder(BuildContext context) AntdStyleBuilder<AntdPageIndicatorStyle, AntdPageIndicator>?
inherited
getThemeStyle(BuildContext context, AntdTheme theme) AntdStyleBuilder<AntdPageIndicatorStyle, AntdPageIndicator>?
override
getWidget(BuildContext context) AntdPageIndicator
override
margeStyle(AntdPageIndicatorStyle defaultStyle, AntdPageIndicatorStyle? style) AntdPageIndicatorStyle
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(BuildContext context, AntdPageIndicatorStyle style) Widget
override
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
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited