shape property

BoxShape? shape
final

Explicit shape override (BoxShape.circle or BoxShape.rectangle). If null, automatically infers circle if width == height.

Implementation

final BoxShape? shape;