WormEffect constructor

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

Implementation

const WormEffect({
  double offset = 16.0,
  double dotWidth = 16.0,
  double dotHeight = 16.0,
  double spacing = 8.0,
  double radius = 16,
  Color dotColor = Colors.grey,
  Color activeDotColor = Colors.indigo,
  double strokeWidth = 1.0,
  PaintingStyle paintStyle = PaintingStyle.fill,
  this.type = WormType.normal,
}) : super(
        dotWidth: dotWidth,
        dotHeight: dotHeight,
        spacing: spacing,
        radius: radius,
        strokeWidth: strokeWidth,
        paintStyle: paintStyle,
        dotColor: dotColor,
        activeDotColor: activeDotColor,
      );