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
void main() { | |
Circle circle1 = Circle(); | |
Circle circle2 = Circle.second(12.4); | |
Circle circle3 = Circle.third(radius: 22.3, color: 'blue'); | |
print(''' | |
Circle 1: | |
Area: ${circle1.getArea()}; | |
Circumference: ${circle1.getCircumference()} |
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
void main() { | |
Circle circle1 = Circle(); | |
Circle circle2 = Circle.second(12.4); | |
Circle circle3 = Circle.third(radius: 22.3, color: 'blue'); | |
print(''' | |
Circle 1: | |
Area: ${circle1.getArea()}; | |
Circumference: ${circle1.getCircumference()} |