SwapEffect constructor

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

Default constructor

Implementation

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