enableDashedLine method

void enableDashedLine(
  1. double lineLength,
  2. double spaceLength,
  3. double phase
)

Enables the line to be drawn in dashed mode, e.g. like this "- - - - - -"

@param lineLength the length of the line pieces @param spaceLength the length of space inbetween the pieces @param phase offset, in degrees (normally, use 0)

Implementation

void enableDashedLine(double lineLength, double spaceLength, double phase) {
  _dashPathEffect = DashPathEffect(lineLength, spaceLength, phase);
}