DotsDecorator constructor

const DotsDecorator({
  1. Color color = Colors.grey,
  2. List<Color> colors = const [],
  3. Color? activeColor,
  4. List<Color> activeColors = const [],
  5. Size size = kDefaultSize,
  6. List<Size> sizes = const [],
  7. Size activeSize = kDefaultSize,
  8. List<Size> activeSizes = const [],
  9. ShapeBorder shape = kDefaultShape,
  10. List<ShapeBorder> shapes = const [],
  11. ShapeBorder activeShape = kDefaultShape,
  12. List<ShapeBorder> activeShapes = const [],
  13. 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,
});