Skip to content

Instantly share code, notes, and snippets.

@Bharathh-Raj
Created July 22, 2021 12:36
Show Gist options
  • Save Bharathh-Raj/10080368cdf72d6854757992a9b72a38 to your computer and use it in GitHub Desktop.
Save Bharathh-Raj/10080368cdf72d6854757992a9b72a38 to your computer and use it in GitHub Desktop.
final double _secondHandTheta = dateTime.minute * Constants.angleBetweenEachSecondLine;
canvas.drawLine(Offset(0, 0), GetOffset.getOffsetWithRadiusAndTheta(radius: secondHandLength, theta: _secondHandTheta), _paint);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment