ExpandingDotsEffect constructor

const ExpandingDotsEffect({
  1. double expansionFactor = 3,
  2. double offset = 16.0,
  3. double dotWidth = 16.0,
  4. double dotHeight = 16.0,
  5. double spacing = 8.0,
  6. double radius = 16.0,
  7. Color activeDotColor = Colors.indigo,
  8. Color dotColor = Colors.grey,
  9. double strokeWidth = 1.0,
  10. PaintingStyle paintStyle = PaintingStyle.fill,
})

Default constructor

Implementation

const ExpandingDotsEffect({
  this.expansionFactor = 3,
  double offset = 16.0,
  double dotWidth = 16.0,
  double dotHeight = 16.0,
  double spacing = 8.0,
  double radius = 16.0,
  Color activeDotColor = Colors.indigo,
  Color dotColor = Colors.grey,
  double strokeWidth = 1.0,
  PaintingStyle paintStyle = PaintingStyle.fill,
})  : assert(expansionFactor > 1),
      super(
          dotWidth: dotWidth,
          dotHeight: dotHeight,
          spacing: spacing,
          radius: radius,
          strokeWidth: strokeWidth,
          paintStyle: paintStyle,
          dotColor: dotColor,
          activeDotColor: activeDotColor);