getCenterPosition method
Implementation
Offset getCenterPosition(double fullWidth, double fullHeight,
double calendarWidth, double calendarHeight) {
return Offset(
(fullWidth - calendarWidth) / 2, (fullHeight - calendarHeight) / 2);
}
Offset getCenterPosition(double fullWidth, double fullHeight,
double calendarWidth, double calendarHeight) {
return Offset(
(fullWidth - calendarWidth) / 2, (fullHeight - calendarHeight) / 2);
}