Indicator class

Constructors

Indicator({required IndicatorDesign indicatorDesign, ActiveIndicator activeIndicator = const ActiveIndicator(color: Colors.grey, borderWidth: 0.7), ClosedIndicator closedIndicator = const ClosedIndicator(color: Colors.white, borderWidth: 0.7)})

Properties

activeIndicator ActiveIndicator
Add a design for the active indicator style. The active indicator is when the index is on the current page. The default is const ActiveIndicator(color: Colors.grey, borderWidth: 0.7)
final
closedIndicator ClosedIndicator
Add a design for the close indicator style. The close indicator is when the index is not on the current page. The default is const ClosedIndicator(color: Colors.grey, borderWidth: 0.7)
final
hashCode int
The hash code for this object.
no setterinherited
indicatorDesign IndicatorDesign
Add an indicator design. This can not be null and is required
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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