IndicatorShape class
A shape that can be used to customize the appearance
of the indicators in a PageIndicator
.
Constructors
- IndicatorShape({required double width, required double height, BorderRadius? borderRadius})
-
Creates a shape that can be used to customize the appearance
of the indicators in a
PageIndicator
. - IndicatorShape.circle(double radius)
-
factory
Properties
- borderRadius → BorderRadius
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → double
-
final
- isCircle → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → double
-
final
Methods
-
copyWith(
{double? width, double? height, BorderRadius? borderRadius}) → IndicatorShape -
lerpTo(
IndicatorShape b, double t) → IndicatorShape -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scale(
double scale) → IndicatorShape -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object o) → bool -
The equality operator.
override