StraightLine.data constructor

StraightLine.data({
  1. required Offset? startPoint,
  2. required Offset? endPoint,
  3. required Paint paint,
})

Implementation

StraightLine.data({
  required this.startPoint,
  required this.endPoint,
  required Paint paint,
}) : super.paint(paint);