Created
July 22, 2021 13:17
-
-
Save Bharathh-Raj/b03e09eff2590a179cbc745a4dbd99c9 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 _minuteHandTheta = (dateTime.minute * Constants.angleBetweenEachMinuteLine) + | |
(Constants.angleBetweenEachMinuteLine * ((1 / Constants.numberOfSeconds) * dateTime.second)); | |
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