startAngle property

num Function(Pie<T>, [List<Object?>?]) startAngle
getter/setter pair

The overall start angle of the pie.

final pie = Pie(…)..startAngle = (thisArg, [args]) => 0;

pie.startAngle; // (thisArg, [args]) => 0

The start angle is the overall start angle of the pie, i.e., the start angle of the first arc. It is typically expressed as a constant number but can also be expressed as a function of data. When a function, the start angle accessor is invoked once, being passed this pie generator and the same arguments.

The start angle accessor defaults to:

startAngle(thisArg, [args]) {
  return 0;
}

Angles are in radians, with 0 at -y (12 o’clock) and positive angles proceeding clockwise.

Implementation

num Function(Pie<T>, [List<Object?>?]) startAngle = constant(0);