area property

  1. @override
double get area
override

The total surface area of the shape.

Implementation

@override
double get area => width * height;