Last active
July 22, 2021 13:11
-
-
Save Bharathh-Raj/284e52bfe65271deb8db14a2f4624296 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final double _hourHandTheta = (dateTime.hour % 12) * Constants.angleBetweenEachHourLine); | |
canvas.drawLine(Offset(0, 0), GetOffset.getOffsetWithRadiusAndTheta(radius: hourHandLength, theta: _hourHandTheta), _paint); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment