isSquare property

bool get isSquare

Checks if the shape is square.

Implementation

bool get isSquare => this == PiButtonShape.SQUARE;