DotsDecorator constructor
const
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,
Implementation
const DotsDecorator({
this.color = Colors.grey,
this.colors = const [],
this.activeColor,
this.activeColors = const [],
this.size = kDefaultSize,
this.sizes = const [],
this.activeSize = kDefaultSize,
this.activeSizes = const [],
this.shape = kDefaultShape,
this.shapes = const [],
this.activeShape = kDefaultShape,
this.activeShapes = const [],
this.spacing = kDefaultSpacing,
});