DotsDecorator class Null safety

Constructors

DotsDecorator({Color color = Colors.grey, List<Color> colors = const [], Color? activeColor, List<Color> activeColors = const [], Size size = kDefaultSize, List<Size> sizes = const [], Size activeSize = kDefaultSize, List<Size> activeSizes = const [], ShapeBorder shape = kDefaultShape, List<ShapeBorder> shapes = const [], ShapeBorder activeShape = kDefaultShape, List<ShapeBorder> activeShapes = const [], EdgeInsets spacing = kDefaultSpacing})
const

Properties

activeColor Color?
Active dot color
final
activeColors List<Color>
List of active dot colors One color by dot
final
activeShape ShapeBorder
Active dot shape
final
activeShapes List<ShapeBorder>
List of active dot shapes One shape by dot
final
activeSize Size
Active dot size
final
activeSizes List<Size>
List of active dot size One size by dot
final
color Color
Inactive dot color
final
colors List<Color>
List of inactive dot colors One color by dot
final
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shape ShapeBorder
Inactive dot shape
final
shapes List<ShapeBorder>
List of inactive dot shape One shape by dot
final
size Size
Inactive dot size
final
sizes List<Size>
List of inactive dot size One size by dot
final
spacing EdgeInsets
Spacing between dots
final

Methods

getActiveColor(int index) Color?
getActiveShape(int index) ShapeBorder
getActiveSize(int index) Size
getColor(int index) Color
getShape(int index) ShapeBorder
getSize(int index) Size
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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