GraphicKey constructor
GraphicKey({
- Color pointColor = Colors.red,
- double pointStrokeWidth = 10,
- Color selectedPointColor = Colors.red,
- double selectedPointStrokeWidth = 10,
- double pointCircleRadius = 20,
- double pointCircleStrokeWidth = 1,
- Color pointCircleColor = Colors.red,
- double selectedPointCircleRadius = 20,
- double selectedPointCircleStrokeWidth = 1,
- Color selectedPointCircleColor = Colors.red,
- double lineStrokeWidth = 5,
- Color lineColor = Colors.red,
- Color? backgroundColor,
- required KeyEnteredCallback keyEnteredCallback,
- PointSelectedCallback? pointSelectedCallback,
- Key? key,
Implementation
GraphicKey(
{this.pointColor = Colors.red,
this.pointStrokeWidth = 10,
this.selectedPointColor = Colors.red,
this.selectedPointStrokeWidth = 10,
this.pointCircleRadius = 20,
this.pointCircleStrokeWidth = 1,
this.pointCircleColor = Colors.red,
this.selectedPointCircleRadius = 20,
this.selectedPointCircleStrokeWidth = 1,
this.selectedPointCircleColor = Colors.red,
this.lineStrokeWidth = 5,
this.lineColor = Colors.red,
this.backgroundColor,
required this.keyEnteredCallback,
this.pointSelectedCallback,
Key? key})
: super(key: key);