DotIndicatorTheme class

Theme configuration for DotIndicator and its dot items.

Inheritance

Constructors

DotIndicatorTheme({double? spacing, EdgeInsetsGeometry? padding, DotBuilder? dotBuilder, double? size, double? borderRadius, Color? activeColor, Color? inactiveColor, Color? inactiveBorderColor, double? inactiveBorderWidth})
Creates a DotIndicatorTheme.
const

Properties

activeColor → Color?
Color of the active dot.
final
borderRadius → double?
Border radius of dots.
final
dotBuilder → DotBuilder?
Builder for individual dots.
final
hashCode → int
The hash code for this object.
no setteroverride
inactiveBorderColor → Color?
Border color of the inactive dot.
final
inactiveBorderWidth → double?
Border width of the inactive dot.
final
inactiveColor → Color?
Color of the inactive dot.
final
padding → EdgeInsetsGeometry?
Padding around the dots container.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → double?
Size of each dot.
final
spacing → double?
Spacing between dots.
final

Methods

copyWith({ValueGetter<double?>? spacing, ValueGetter<EdgeInsetsGeometry?>? padding, ValueGetter<DotBuilder?>? dotBuilder, ValueGetter<double?>? size, ValueGetter<double?>? borderRadius, ValueGetter<Color?>? activeColor, ValueGetter<Color?>? inactiveColor, ValueGetter<Color?>? inactiveBorderColor, ValueGetter<double?>? inactiveBorderWidth}) → DotIndicatorTheme
Creates a copy of this theme but with the given fields replaced.
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.
override