CustomizableEffect class

Inheritance

Constructors

CustomizableEffect({required DotDecoration dotDecoration, required DotDecoration activeDotDecoration, ColorBuilder? activeColorOverride, double spacing = 8, ColorBuilder? inActiveColorOverride})
const

Properties

activeColorOverride ColorBuilder?
final
activeDotDecoration DotDecoration
final
dotDecoration DotDecoration
final
hashCode int
The hash code for this object.
no setterinherited
inActiveColorOverride ColorBuilder?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing double
final

Methods

buildPainter(int count, double offset) → IndicatorPainter
Builds a new painter every time the page offset changes
override
calculateSize(int count) Size
Calculates the size of canvas based on dots count, size and spacing
override
hitTestDots(double dx, int count, double current) int
Returns the index of the section that contains dx.
override
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