Skip to content

Instantly share code, notes, and snippets.

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