calculateCenterOffset static method
Calculates the center offset for a given size.
Implementation
static Offset calculateCenterOffset(
{required double width, required double height}) {
return Offset(width / 2, height / 2);
}
Calculates the center offset for a given size.
static Offset calculateCenterOffset(
{required double width, required double height}) {
return Offset(width / 2, height / 2);
}