GraphicKey constructor

GraphicKey({
  1. Color pointColor = Colors.red,
  2. double pointStrokeWidth = 10,
  3. Color selectedPointColor = Colors.red,
  4. double selectedPointStrokeWidth = 10,
  5. double pointCircleRadius = 20,
  6. double pointCircleStrokeWidth = 1,
  7. Color pointCircleColor = Colors.red,
  8. double selectedPointCircleRadius = 20,
  9. double selectedPointCircleStrokeWidth = 1,
  10. Color selectedPointCircleColor = Colors.red,
  11. double lineStrokeWidth = 5,
  12. Color lineColor = Colors.red,
  13. Color? backgroundColor,
  14. required KeyEnteredCallback keyEnteredCallback,
  15. PointSelectedCallback? pointSelectedCallback,
  16. 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);