GestureView constructor
const
GestureView({
- Key? key,
- required double size,
- Color selectColor = Colors.blue,
- Color unSelectColor = Colors.grey,
- double ringWidth = 4,
- double ringRadius = 30,
- bool showUnSelectRing = true,
- double circleRadius = 20,
- double lineWidth = 6,
- dynamic onPanUp()?,
- dynamic onPanDown()?,
- bool immediatelyClear = false,
- bool forceConsecutiveDots = false,
Implementation
const GestureView({
Key? key,
required this.size,
this.selectColor = Colors.blue,
this.unSelectColor = Colors.grey,
this.ringWidth = 4,
this.ringRadius = 30,
this.showUnSelectRing = true,
this.circleRadius = 20,
this.lineWidth = 6,
this.onPanUp,
this.onPanDown,
this.immediatelyClear = false,
this.forceConsecutiveDots = false,
}) : assert(ringRadius >= circleRadius),
super(key: key);