Last active
February 23, 2020 09:57
-
-
Save digitaljoni/981a77c6df2e320a3d4d3e95be9a2c95 to your computer and use it in GitHub Desktop.
Import Dart Sample
This file contains hidden or 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
| import 'dart:math'; | |
| void main() { | |
| final double radius = 3.25; | |
| final double areaOfCircle = pi * (radius * radius); | |
| print('area of a circle with radius of 3 is $areaOfCircle'); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment