InkPageIndicator class Null safety

A Flutter implementation of the InkPageIndicator.



InkPageIndicator({Key? key, PageIndicatorController? controller, ValueNotifier<double>? page, int? pageCount, InkStyle style = InkStyle.simple, Color? inkColor, IndicatorShape? shape, IndicatorShape? activeShape, Color activeColor =, Color inactiveColor = Colors.grey, double gap = 12.0, double padding = 8.0})
Creates a Flutter implementation of the InkPageIndicator.


activeColor Color
The color of the active dot.
final, inherited
activeShape IndicatorShape
The shape of the active dot.
final, inherited
controller PageIndicatorController?
The PageIndicatorController that is attached to a PageView. The PageIndicatorController is used to infer page and pageCount.
final, inherited
curve Curve
final, inherited
duration Duration
final, inherited
gap double
The spacing between the dots.
final, inherited
hashCode int
The hash code for this object.
@nonVirtual, read-only, inherited
inactiveColor Color
The color of the inactive dots.
final, inherited
inkColor Color?
The color of the ink between the dots for some IntStyles.
key Key?
Controls how one widget replaces another widget in the tree.
final, inherited
padding double
final, inherited
page ValueNotifier<double>?
A ValueNotifer for the current page.
final, inherited
pageCount int?
The page count.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shape IndicatorShape
The defautl shape of the dots.
final, inherited
style InkStyle
The style of the transition between the dots.


createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
createState() InkPageIndicatorState
Creates the mutable state for this widget at a given location in the tree.
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
@protected, inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
toString({DiagnosticLevel minLevel =}) String
A string representation of this object.
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
toStringShort() String
A short, textual description of this widget.


operator ==(Object other) bool
The equality operator.
@nonVirtual, inherited