center property
Offset
center
Center point of the widget.
Implementation
Offset get center => topLeft + Offset(width / 2, height / 2);
Center point of the widget.
Offset get center => topLeft + Offset(width / 2, height / 2);