points property

List<Offset> points

List of points that make up the line. Typically, you will only want to set this at the beginning. Then use addPoint to add additional points to the line.

Implementation

List<Offset> get points => _points;
void points=(List<Offset> points)

Implementation

set points(List<Offset> points) {
  _points = points;
  _pointAges = <double>[];
  for (int i = 0; i < _points.length; i++) {
    _pointAges.add(0.0);
  }
}